| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | abstract class AbstractModule |
||
| 9 | { |
||
| 10 | |||
| 11 | |||
| 12 | /** |
||
| 13 | * Get config array for this module |
||
| 14 | * @return array |
||
| 15 | */ |
||
| 16 | public function getModuleConfig() |
||
| 19 | } |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * Set class maps for class loader to autoload classes for this module |
||
| 24 | * @param Container $container |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function initDependencies(Container $container) |
||
|
|
|||
| 28 | { |
||
| 29 | |||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Initiate app middleware, route middleware should go in load() with routes |
||
| 34 | * @param App $app |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | public function initMiddleware(App $app) |
||
| 38 | { |
||
| 39 | |||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Load is run last, when config, dependencies, etc have been initiated |
||
| 44 | * Routes ought to go here |
||
| 45 | * @param App $app |
||
| 46 | * @return void |
||
| 47 | */ |
||
| 48 | public function initRoutes(App $app) |
||
| 50 | |||
| 51 | } |
||
| 52 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.