public function getActionClassByName($name)
    {
        if (method_exists($this, 'actions')) {
            $actions = $this->actions();

            if (
                !empty($actions[$name]) &&
                class_exists($actions[$name]) &&
                is_subclass_of($actions[$name], '\Micro\Mvc\Action')
            ) {
                return $actions[$name];
            }
        }

        return false;
    }
public function getActionClassByName($name)
    {
        if (method_exists($this, 'actions')) {
            $actions = $this->actions();

            if (
                !empty($actions[$name]) &&
                class_exists($actions[$name]) &&
                is_subclass_of($actions[$name], '\Micro\Mvc\Action')
            ) {
                return $actions[$name];
            }
        }

        return false;
    }
public function getActionClassByName ( $ name ) { if ( method_exists ( $ this , 'actions' ) ) { $ actions = $ this -> actions ( ) ; if ( ! empty ( $ actions [ $ name ] ) && class_exists ( $ actions [ $ name ] ) && is_subclass_of ( $ actions [ $ name ] , '\Micro\Mvc\Action' ) ) { return $ actions [ $ name ] ; } } return false ; }
Get action class by name

@access public

@param string $name action name

@return bool
Get action class by name