コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: InlineRouter.php プロジェクト: spotframework/spot
 public function __construct(array $names, array $actions, RoutePathCompiler $compiler)
 {
     parent::__construct($names);
     $this->actions = $actions;
     $this->compiler = $compiler;
 }