Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
38 | 16 | public function __construct(string $name, string $pathRegex, array $requirements = [], array $defaults = [], bool $auth = false, array $params = []) |
|
39 | { |
||
40 | 16 | $this->name = $name; |
|
41 | 16 | $this->pathRegex = $pathRegex; |
|
42 | 16 | $this->requirements = $requirements; |
|
43 | 16 | $this->defaults = array_merge($this->defaults, $defaults); |
|
44 | 16 | $this->auth = $auth; |
|
45 | 16 | $this->params = $params; |
|
46 | 16 | } |
|
100 |