| Total Complexity | 5 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Coverage | 94.12% |
| 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 |
|
| 41 | ], |
||
| 42 | ]; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @inheritdoc |
||
| 47 | */ |
||
| 48 | 2 | public function getCode(): string |
|
| 51 | } |
||
| 52 | |||
| 53 | 2 | private function getControllerFullName(): string |
|
| 57 | } |
||
| 58 | } |
||
| 59 |