protected function getAnnotationClassForAction($requestAction)
    {
        /** @var array $actions */
        $actions = $this->getActions();

        /** @var ClassInterface $action */
        foreach ($actions as $action) {
            if ($action->getAnnotatedName() === $requestAction) {
                return $action;
            }
        }

        throw new ExtDirectException("extjs direct name '{$requestAction}' does not exist'");
    }
protected function getAnnotationClassForAction($requestAction)
    {
        /** @var array $actions */
        $actions = $this->getActions();

        /** @var ClassInterface $action */
        foreach ($actions as $action) {
            if ($action->getAnnotatedName() === $requestAction) {
                return $action;
            }
        }

        throw new ExtDirectException("extjs direct name '{$requestAction}' does not exist'");
    }
protected function getAnnotationClassForAction ( $ requestAction ) { /** @var array $actions */ $ actions = $ this -> getActions ( ) ; /** @var ClassInterface $action */ foreach ( $ actions as $ action ) { if ( $ action -> getAnnotatedName ( ) === $ requestAction ) { return $ action ; } } throw new ExtDirectException ( "extjs direct name '{$requestAction}' does not exist'" ) ; }
Returns matching Annotation class

@param string $requestAction ext direct requested action(class)

@return ClassInterface
@throws Exceptions\ExtDirectException
Returns matching Annotation class