1 | <?php |
||
24 | class Module implements |
||
25 | AutoloaderProviderInterface, |
||
26 | ConfigProviderInterface, |
||
27 | DependencyIndicatorInterface, |
||
28 | InitProviderInterface |
||
29 | { |
||
30 | /** |
||
31 | * Имя секции в конфиги приложения отвечающей за настройки модуля |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | const CONFIG_KEY = 'nnx_cloner_module'; |
||
36 | |||
37 | /** |
||
38 | * Имя модуля |
||
39 | * |
||
40 | * @var string |
||
41 | */ |
||
42 | const MODULE_NAME = __NAMESPACE__; |
||
43 | |||
44 | /** |
||
45 | * @param ModuleManagerInterface $manager |
||
46 | * |
||
47 | * @throws \Nnx\Cloner\Exception\InvalidArgumentException |
||
48 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
49 | */ |
||
50 | public function init(ModuleManagerInterface $manager) |
||
78 | |||
79 | |||
80 | /** |
||
81 | * @return array |
||
82 | */ |
||
83 | public function getModuleDependencies() |
||
89 | |||
90 | /** |
||
91 | * @return array |
||
92 | */ |
||
93 | public function getAutoloaderConfig() |
||
103 | |||
104 | |||
105 | /** |
||
106 | * @inheritdoc |
||
107 | * |
||
108 | * @return array |
||
109 | */ |
||
110 | public function getConfig() |
||
118 | |||
119 | } |