| Total Complexity | 5 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 94.44% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class Routes implements ConfigPartInterface |
||
| 10 | { |
||
| 11 | const PART_KEY = 'routes'; |
||
| 12 | /** |
||
| 13 | * @var DataProviderInterface |
||
| 14 | */ |
||
| 15 | private $dataProvider; |
||
| 16 | |||
| 17 | 2 | public function __construct(DataProviderInterface $dataProvider) |
|
| 18 | { |
||
| 19 | 2 | $this->dataProvider = $dataProvider; |
|
| 20 | 2 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @inheritdoc |
||
| 24 | */ |
||
| 25 | 2 | public function getConfig(): array |
|
| 42 | ], |
||
| 43 | ]; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritdoc |
||
| 48 | */ |
||
| 49 | 2 | public function getCode(): string |
|
| 52 | } |
||
| 53 | |||
| 54 | 2 | private function getControllerFullName(): string |
|
| 60 |