public function getRequiredAction($name)
    {
        $result = null;
        $actions = $this->getOption(self::OPTION_REQUIRED_ACTIONS);
        foreach ($actions as $action) {
            if ($action->getName() === $name) {
                $result = $action;
                break;
            }
        }
        return $result;
    }
public function getRequiredAction($name)
    {
        $result = null;
        $actions = $this->getOption(self::OPTION_REQUIRED_ACTIONS);
        foreach ($actions as $action) {
            if ($action->getName() === $name) {
                $result = $action;
                break;
            }
        }
        return $result;
    }
public function getRequiredAction ( $ name ) { $ result = null ; $ actions = $ this -> getOption ( self :: OPTION_REQUIRED_ACTIONS ) ; foreach ( $ actions as $ action ) { if ( $ action -> getName ( ) === $ name ) { $ result = $ action ; break ; } } return $ result ; }
Get required action by name
@param  string $name name of action
@return RequiredActionInterface array of required action instances
Get required action by name