| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class Route implements Module { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Return the middleware class name. |
||
| 25 | * |
||
| 26 | * @return string|null |
||
| 27 | */ |
||
| 28 | public function get_middleware(): ?string { |
||
| 30 | } |
||
| 31 | |||
| 32 | ## Unused methods |
||
| 33 | |||
| 34 | /** @inheritDoc */ |
||
| 35 | public function pre_register( App_Config $config, Hook_Loader $loader, DI_Container $di_container ): void {} // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceBeforeLastUsed |
||
| 36 | |||
| 37 | /** @inheritDoc */ |
||
| 38 | public function post_register( App_Config $config, Hook_Loader $loader, DI_Container $di_container ): void {} // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceBeforeLastUsed |
||
| 39 | |||
| 40 | /** @inheritDoc */ |
||
| 41 | public function pre_boot( App_Config $config, Hook_Loader $loader, DI_Container $di_container ): void {} // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceBeforeLastUsed |
||
| 42 | } |
||
| 43 |