| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | class CachedData implements RouteMapInterface |
||
| 29 | { |
||
| 30 | /** @var RouteCompilerInterface */ |
||
| 31 | private $compiler; |
||
| 32 | |||
| 33 | /** @var array */ |
||
| 34 | private $collectionData; |
||
| 35 | |||
| 36 | public function __construct(array $collectionData) |
||
| 37 | { |
||
| 38 | [$this->compiler, $this->collectionData] = $collectionData; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public function getCompiler(): RouteCompilerInterface |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritdoc} |
||
| 51 | */ |
||
| 52 | public function getData(): array |
||
| 55 | } |
||
| 56 | } |
||
| 57 |