| 1 | <?php |
||
| 18 | class Module implements |
||
| 19 | AutoloaderProviderInterface, |
||
| 20 | ConfigProviderInterface, |
||
| 21 | ModuleConfigKeyProviderInterface |
||
| 22 | { |
||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * Имя секции в конфиги приложения отвечающей за настройки модуля |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | const CONFIG_KEY = 'service_service'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Имя модуля |
||
| 34 | * |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | const MODULE_NAME = __NAMESPACE__; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritdoc |
||
| 41 | * |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | public function getServiceModules() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getModuleConfigKey() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return array |
||
| 63 | */ |
||
| 64 | public function getAutoloaderConfig() |
||
| 74 | |||
| 75 | |||
| 76 | /** |
||
| 77 | * @inheritdoc |
||
| 78 | * |
||
| 79 | * @return array |
||
| 80 | */ |
||
| 81 | public function getConfig() |
||
| 85 | } |