1 | <?php |
||
26 | class Module implements |
||
27 | BootstrapListenerInterface, |
||
28 | AutoloaderProviderInterface, |
||
29 | InitProviderInterface, |
||
30 | ConfigProviderInterface |
||
31 | { |
||
32 | /** |
||
33 | * Имя секции в конфиги приложения отвечающей за настройки модуля |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | const CONFIG_KEY = 'nnx_doctrine_fixture_module'; |
||
38 | |||
39 | /** |
||
40 | * Имя модуля |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | const MODULE_NAME = __NAMESPACE__; |
||
45 | |||
46 | /** |
||
47 | * @param ModuleManagerInterface $manager |
||
48 | * |
||
49 | * @throws Exception\InvalidArgumentException |
||
50 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
51 | */ |
||
52 | public function init(ModuleManagerInterface $manager) |
||
76 | |||
77 | /** |
||
78 | * @inheritdoc |
||
79 | * |
||
80 | * @param EventInterface $e |
||
81 | * |
||
82 | * @return array|void |
||
83 | * |
||
84 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
85 | */ |
||
86 | public function onBootstrap(EventInterface $e) |
||
94 | |||
95 | |||
96 | /** |
||
97 | * @return array |
||
98 | */ |
||
99 | public function getAutoloaderConfig() |
||
109 | |||
110 | |||
111 | /** |
||
112 | * @inheritdoc |
||
113 | * |
||
114 | * @return array |
||
115 | */ |
||
116 | public function getConfig() |
||
120 | |||
121 | } |