1 | <?php |
||
25 | class Module implements ConfigProviderInterface, InitProviderInterface, BootstrapListenerInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var \Zend\ServiceManager\ServiceLocatorInterface |
||
29 | */ |
||
30 | private $serviceManager; |
||
31 | |||
32 | /** |
||
33 | * {@inheritDoc} |
||
34 | */ |
||
35 | 30 | public function init(ModuleManagerInterface $moduleManager) |
|
43 | |||
44 | /** |
||
45 | * {@inheritDoc} |
||
46 | */ |
||
47 | 1 | public function onBootstrap(EventInterface $event) |
|
51 | |||
52 | /** |
||
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | 31 | public function getConfig() |
|
56 | { |
||
57 | 31 | $provider = new ConfigProvider(); |
|
58 | return [ |
||
59 | 31 | 'doctrine' => $provider->getDoctrineConfig(), |
|
60 | 31 | 'doctrine_factories' => $provider->getDoctrineFactoryConfig(), |
|
61 | 31 | 'service_manager' => $provider->getDependencyConfig(), |
|
62 | 31 | 'controllers' => $provider->getControllerConfig(), |
|
63 | 31 | 'route_manager' => $provider->getRouteManagerConfig(), |
|
64 | 31 | 'console' => $provider->getConsoleConfig(), |
|
65 | 31 | 'validators' => $provider->getValidatorConfig(), |
|
66 | ]; |
||
67 | } |
||
68 | |||
69 | /** |
||
70 | * {@inheritDoc} |
||
71 | */ |
||
72 | 1 | public function getConsoleUsage(Console $console) |
|
82 | } |
||
83 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.