1 | <?php |
||
14 | class Module implements ConfigProviderInterface, DependencyIndicatorInterface, InitProviderInterface |
||
15 | { |
||
16 | /** |
||
17 | * Returns configuration to merge with application configuration |
||
18 | * |
||
19 | * @return array|\Traversable |
||
20 | */ |
||
21 | 3 | public function getConfig() |
|
25 | |||
26 | /** |
||
27 | * Expected to return an array of modules on which the current one depends on |
||
28 | * |
||
29 | * @return array |
||
30 | */ |
||
31 | 3 | public function getModuleDependencies() |
|
39 | |||
40 | /** |
||
41 | * @param ModuleManagerInterface $manager |
||
42 | */ |
||
43 | 2 | public function init(ModuleManagerInterface $manager) |
|
49 | |||
50 | /** |
||
51 | * Initialize the console with additional commands from (optionally) doctrine\migrations |
||
52 | * @param EventInterface $event |
||
53 | * @return bool |
||
54 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
55 | */ |
||
56 | 5 | public function initializeConsole(EventInterface $event) |
|
79 | } |
||
80 |