| Total Complexity | 5 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class DoctrineAuditRoutingLoader extends Loader implements LoaderInterface |
||
| 13 | { |
||
| 14 | private $annotationLoader; |
||
| 15 | |||
| 16 | private $configuration; |
||
| 17 | |||
| 18 | public function load($resource, ?string $type = null): RouteCollection |
||
| 26 | } |
||
| 27 | |||
| 28 | public function supports($resource, ?string $type = null): bool |
||
| 29 | { |
||
| 30 | return 'audit_loader' === $type; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function setRoutingLoaderAnnotation(AnnotatedRouteControllerLoader $loader): void |
||
| 34 | { |
||
| 35 | $this->annotationLoader = $loader; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function setConfiguration(iterable $configuration): void |
||
| 41 | } |
||
| 42 | } |
||
| 43 |