src/mg/Ding/Bean/Provider/Annotation.php
public function getBeanDefinition($name)
    {
        foreach ($this->_knownBeans as $leadName => $data) {

            $names = $data[0];
            $class = $data[1];
            $key = $data[2];
            $annotations = $data[3];
            $fBean = $data[4];
            $fMethod = $data[5];
            if (in_array($name, $names)) {
                return $this->_getBeanDefinition($name, $class, $annotations, $fBean, $fMethod);
            }
        }
        return null;
    }
public function getBeanDefinition($name)
    {
        foreach ($this->_knownBeans as $leadName => $data) {

            $names = $data[0];
            $class = $data[1];
            $key = $data[2];
            $annotations = $data[3];
            $fBean = $data[4];
            $fMethod = $data[5];
            if (in_array($name, $names)) {
                return $this->_getBeanDefinition($name, $class, $annotations, $fBean, $fMethod);
            }
        }
        return null;
    }
(non-PHPdoc)
@see Ding\Aspect.IBeanDefinitionProvider::getBeanDefinition()