mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Drop the service container class.
This commit is contained in:
1 parent
f4a54cdec3
commit
13253873fa
5 files changed
+61
-84
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user