1 | <?php |
||
22 | class ConfigFactory implements FactoryInterface |
||
23 | { |
||
24 | /** |
||
25 | * Create the application configuration service. |
||
26 | * |
||
27 | * Retrieves the Module Manager from the service locator, and executes |
||
28 | * {@link Zend\ModuleManager\ModuleManager::loadModules()}. |
||
29 | * |
||
30 | * It then retrieves the config listener from the module manager, and from |
||
31 | * that the merged configuration. |
||
32 | * |
||
33 | * @param ServiceLocatorInterface $serviceLocator |
||
34 | * |
||
35 | * @return array|\Traversable |
||
36 | */ |
||
37 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
56 | } |
||
57 |