| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 12 | class RouteConfig implements RouteConfigInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string[] |
||
| 16 | */ |
||
| 17 | private $routes = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @inheritdoc |
||
| 21 | */ |
||
| 22 | public function getRoutes(): array |
||
| 23 | { |
||
| 24 | return $this->routes; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @inheritdoc |
||
| 29 | */ |
||
| 30 | public function register(string $route, string $controllersNamespace): void |
||
| 45 | } |
||
| 46 | } |
||
| 47 |