mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-01 12:33:45 +01:00
Drop the service container class.
This commit is contained in:
@@ -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