Пример #1
0
 /**
  * RouteMatch constructor.
  *
  * @param RouteCollector $collector
  * @param \Venta\Contracts\Routing\RouteMatcher $matcher
  * @param RequestFactory $requestFactory
  */
 public function __construct(RouteCollector $collector, RouteMatcher $matcher, RequestFactory $requestFactory)
 {
     parent::__construct();
     $this->collector = $collector;
     $this->matcher = $matcher;
     $this->requestFactory = $requestFactory;
 }
Пример #2
0
 /**
  * Routes constructor.
  *
  * @param RouteCollector $collector
  */
 public function __construct(RouteCollector $collector)
 {
     parent::__construct();
     $this->collector = $collector;
 }
Пример #3
0
 public function __construct(Container $container)
 {
     parent::__construct();
     $this->container = $container;
 }