public function __construct(array $names, array $actions, MethodIndex $method, AjaxIndex $ajax, StaticPathIndex $staticPath, PrefixPathIndex $prefixPath, RegexPathIndex $regexPath) { parent::__construct($names); $this->actions = $actions; $this->method = $method; $this->ajax = $ajax; $this->staticPath = $staticPath; $this->prefixPath = $prefixPath; $this->regexPath = $regexPath; }
public function __construct(array $names, array $actions, RoutePathCompiler $compiler) { parent::__construct($names); $this->actions = $actions; $this->compiler = $compiler; }