From d44c9b29cd8209a0d0a9f88b8d6e2694ef1b9eb8 Mon Sep 17 00:00:00 2001 From: webimpress Date: Mon, 21 Oct 2019 22:06:13 +0100 Subject: [PATCH] Use lowercase `config` key to get configuration from container --- src/Collector/ConfigCollector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')) {