| 1 | <?php |
||
| 24 | class Module implements |
||
| 25 | BootstrapListenerInterface, |
||
| 26 | ConfigProviderInterface, |
||
| 27 | AutoloaderProviderInterface |
||
| 28 | { |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Имя секции в конфиги приложения |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | const CONFIG_KEY = 'workflow_zf2'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param EventInterface $e |
||
| 39 | * |
||
| 40 | * @return array|void |
||
| 41 | */ |
||
| 42 | public function onBootstrap(EventInterface $e) |
||
| 50 | |||
| 51 | |||
| 52 | /** |
||
| 53 | * @return mixed |
||
| 54 | */ |
||
| 55 | public function getConfig() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return array |
||
| 62 | */ |
||
| 63 | public function getAutoloaderConfig() |
||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | } |