Drop the service container class.

This commit is contained in:
David Molineus
2016-10-05 08:52:46 +02:00
parent f4a54cdec3
commit 13253873fa
5 changed files with 61 additions and 84 deletions

View File

@@ -209,7 +209,7 @@ class BootSubscriber implements EventSubscriberInterface
private function createMapper($mapper)
{
if (is_callable($mapper)) {
$container = $GLOBALS['container']['leaflet.service-container'];
$container = $GLOBALS['container'][Services::CONTAINER];
return $mapper($container);
}