1 | <?php |
||
23 | abstract class AbstractFactory implements FactoryInterface, ConfigurationProviderInterface |
||
24 | { |
||
25 | /** |
||
26 | * Process an array with the application configuration. |
||
27 | * |
||
28 | * @param array $config |
||
29 | * @param \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator |
||
30 | * |
||
31 | * @return array |
||
32 | */ |
||
33 | abstract protected function processConfiguration(array $config, ServiceLocatorInterface $serviceLocator = null); |
||
34 | |||
35 | /** |
||
36 | * Merges configuration. |
||
37 | */ |
||
38 | protected function mergeConfiguration(array $defaults, array $config) |
||
42 | } |
||
43 |