1 | <?php |
||
24 | class Module implements |
||
25 | ModuleConfigKeyProviderInterface, |
||
26 | AutoloaderProviderInterface, |
||
27 | ConfigProviderInterface, |
||
28 | DependencyIndicatorInterface, |
||
29 | InitProviderInterface |
||
30 | { |
||
31 | /** |
||
32 | * Имя секции в конфиги приложения отвечающей за настройки модуля |
||
33 | * |
||
34 | * @var string |
||
35 | */ |
||
36 | const CONFIG_KEY = 'nnx_cloner_module'; |
||
37 | |||
38 | /** |
||
39 | * Имя модуля |
||
40 | * |
||
41 | * @var string |
||
42 | */ |
||
43 | const MODULE_NAME = __NAMESPACE__; |
||
44 | |||
45 | /** |
||
46 | * @param ModuleManagerInterface $manager |
||
47 | * |
||
48 | * @throws \Nnx\Cloner\Exception\InvalidArgumentException |
||
49 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
50 | */ |
||
51 | public function init(ModuleManagerInterface $manager) |
||
79 | |||
80 | /** |
||
81 | * @return string |
||
82 | */ |
||
83 | public function getModuleConfigKey() |
||
87 | |||
88 | /** |
||
89 | * @return array |
||
90 | */ |
||
91 | public function getModuleDependencies() |
||
97 | |||
98 | /** |
||
99 | * @return array |
||
100 | */ |
||
101 | public function getAutoloaderConfig() |
||
111 | |||
112 | |||
113 | /** |
||
114 | * @inheritdoc |
||
115 | * |
||
116 | * @return array |
||
117 | */ |
||
118 | public function getConfig() |
||
126 | } |
||
127 |