Drest\Service::getMatchedRoute PHP Méthode

getMatchedRoute() public méthode

Get the route object that was matched
public getMatchedRoute ( ) : RouteMetaData
Résultat Drest\Mapping\RouteMetaData $matched_route
    public function getMatchedRoute()
    {
        return $this->matched_route;
    }

Usage Example

Exemple #1
0
 /**
  * get the matched route object
  * @return RouteMetaData $route
  */
 protected function getMatchedRoute()
 {
     return $this->service->getMatchedRoute();
 }