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