public function match(Context $context)
    {
        $name = $this->getName($context);

        if ($this->map->hasRoute($name)) {
            return $this->map->getRoute($name);
        }

        return false;
    }
public function match(Context $context)
    {
        $name = $this->getName($context);

        if ($this->map->hasRoute($name)) {
            return $this->map->getRoute($name);
        }

        return false;
    }
public function match ( Context $ context ) { $ name = $ this -> getName ( $ context ) ; if ( $ this -> map -> hasRoute ( $ name ) ) { return $ this -> map -> getRoute ( $ name ) ; } return false ; }
Get a route based on command context

@param Context $context Command context

@return Route|false

@access public
Get a route based on command context