| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class RoutingAnnotationLoader extends Loader |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var AnnotatedRouteControllerLoader |
||
| 15 | */ |
||
| 16 | private $annotatedRouteControllerLoader; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var bool |
||
| 20 | */ |
||
| 21 | private $isLoaded = false; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | private $configuration; |
||
| 27 | |||
| 28 | public function __construct(AnnotatedRouteControllerLoader $annotatedRouteController, array $configuration) |
||
| 29 | { |
||
| 30 | $this->annotatedRouteControllerLoader = $annotatedRouteController; |
||
| 31 | $this->configuration = $configuration; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function load($resource, ?string $type = null): RouteCollection |
||
| 48 | } |
||
| 49 | |||
| 50 | public function supports($resource, ?string $type = null): bool |
||
| 55 |