diff --git a/src/Collector/ConfigCollector.php b/src/Collector/ConfigCollector.php index 46bb353..66aa0a1 100644 --- a/src/Collector/ConfigCollector.php +++ b/src/Collector/ConfigCollector.php @@ -59,8 +59,8 @@ public function collect(MvcEvent $mvcEvent) $serviceLocator = $application->getServiceManager(); - if ($serviceLocator->has('Config')) { - $this->config = $this->makeArraySerializable($serviceLocator->get('Config')); + if ($serviceLocator->has('config')) { + $this->config = $this->makeArraySerializable($serviceLocator->get('config')); } if ($serviceLocator->has('ApplicationConfig')) {