public function fromContext(Context $context)
    {
        $route  = $this->matcher->match($context);

        return $route
            ? $this->fromRoute($route)
            : $this->failedAction($context);
    }
public function fromContext(Context $context)
    {
        $route  = $this->matcher->match($context);

        return $route
            ? $this->fromRoute($route)
            : $this->failedAction($context);
    }
public function fromContext ( Context $ context ) { $ route = $ this -> matcher -> match ( $ context ) ; return $ route ? $ this -> fromRoute ( $ route ) : $ this -> failedAction ( $ context ) ; }
Create Action from Context

@param Context $context command context

@return \Arbiter\Action

@access public
Create Action from Context