public function afterDefinition(BeanDefinition $bean)
    {
        $return = $bean;
        foreach ($this->_lifecyclers[BeanLifecycle::AfterDefinition] as $lifecycleListener) {
            $return = $lifecycleListener->afterDefinition($return);
        }
        return $return;
    }
public function afterDefinition(BeanDefinition $bean)
    {
        $return = $bean;
        foreach ($this->_lifecyclers[BeanLifecycle::AfterDefinition] as $lifecycleListener) {
            $return = $lifecycleListener->afterDefinition($return);
        }
        return $return;
    }
public function afterDefinition ( BeanDefinition $ bean ) { $ return = $ bean ; foreach ( $ this -> _lifecyclers [ BeanLifecycle :: AfterDefinition ] as $ lifecycleListener ) { $ return = $ lifecycleListener -> afterDefinition ( $ return ) ; } return $ return ; }
Runs the AfterDefinition point of the lifecycle.

@param string         $beanName Bean name.
@param BeanDefinition $bean     Actual definition.

@return BeanDefinition
Runs the AfterDefinition point of the lifecycle .