protected function execute($method, array $actionManagers)
    {
        $actions = array('post' => array(), 'notExecuted' => array());
        foreach ($actionManagers as $bundleName => $actionManager) {
            $this->actionManagerGenerator->generate($actionManager);
            $actionManagerClass = $this->actionManagerGenerator->getActionManagerClass();
            $actionManager = $this->actionManagerGenerator->getActionManager();
            if (null !== $actionManager && false === $actionManager->$method()) $actions['notExecuted'][$bundleName] = $actionManagerClass;
            $actions['post'][$bundleName] = $actionManagerClass;
        }

        return $actions;
    }
protected function execute($method, array $actionManagers)
    {
        $actions = array('post' => array(), 'notExecuted' => array());
        foreach ($actionManagers as $bundleName => $actionManager) {
            $this->actionManagerGenerator->generate($actionManager);
            $actionManagerClass = $this->actionManagerGenerator->getActionManagerClass();
            $actionManager = $this->actionManagerGenerator->getActionManager();
            if (null !== $actionManager && false === $actionManager->$method()) $actions['notExecuted'][$bundleName] = $actionManagerClass;
            $actions['post'][$bundleName] = $actionManagerClass;
        }

        return $actions;
    }
protected function execute ( $ method , array $ actionManagers ) { $ actions = array ( 'post' => array ( ) , 'notExecuted' => array ( ) ) ; foreach ( $ actionManagers as $ bundleName => $ actionManager ) { $ this -> actionManagerGenerator -> generate ( $ actionManager ) ; $ actionManagerClass = $ this -> actionManagerGenerator -> getActionManagerClass ( ) ; $ actionManager = $ this -> actionManagerGenerator -> getActionManager ( ) ; if ( null !== $ actionManager && false === $ actionManager -> $ method ( ) ) $ actions [ 'notExecuted' ] [ $ bundleName ] = $ actionManagerClass ; $ actions [ 'post' ] [ $ bundleName ] = $ actionManagerClass ; } return $ actions ; }
Executes the actions

@param type $method
@param array $actionManagers
@return type
@throws MissingDependencyException
Executes the actions