Наследование: extends FastRoute\Dispatcher\GroupCountBased, implements Orno\Route\RouteStrategyInterface, use trait Orno\Route\RouteStrategyTrait
Пример #1
0
 /**
  * Builds a dispatcher based on the routes attached to this collection
  *
  * @return \Orno\Route\Dispatcher
  */
 public function getDispatcher()
 {
     $dispatcher = new Dispatcher($this->container, $this->routes, $this->getData());
     if (!is_null($this->strategy)) {
         $dispatcher->setStrategy($this->strategy);
     }
     return $dispatcher;
 }