protected function resolveAction($name)
    {
        if (isset($this->actions[$name])) {
            return $this->factory->make($this->actions[$name]);
        }

        throw new \InvalidArgumentException("Named action '$name' could not be found.");
    }
protected function resolveAction($name)
    {
        if (isset($this->actions[$name])) {
            return $this->factory->make($this->actions[$name]);
        }

        throw new \InvalidArgumentException("Named action '$name' could not be found.");
    }
protected function resolveAction ( $ name ) { if ( isset ( $ this -> actions [ $ name ] ) ) { return $ this -> factory -> make ( $ this -> actions [ $ name ] ) ; } throw new \ InvalidArgumentException ( "Named action '$name' could not be found." ) ; }
Resolve an action instance by name.

@param $name
@return \FluxBB\Core\Action
@throws \InvalidArgumentException
Resolve an action instance by name .