| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function load($resource, ?string $type = null): RouteCollection |
||
| 24 | { |
||
| 25 | $routeCollection = new RouteCollection(); |
||
| 26 | if (true === $this->configuration['enabled_viewer']) { |
||
| 27 | $routeCollection = $this->annotationLoader->load(ViewerController::class); |
||
| 28 | } |
||
| 29 | |||
| 30 | return $routeCollection; |
||
| 31 | } |
||
| 38 |