mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-01-16 12:25:17 +01:00
Move hash subscriber to the listener namespace.
This commit is contained in:
@@ -69,7 +69,7 @@ services:
|
|||||||
- { name: 'kernel.event_listener', event: 'netzmacht.contao_leaflet.mapper.convert_to_geojson', method: 'handle' }
|
- { name: 'kernel.event_listener', event: 'netzmacht.contao_leaflet.mapper.convert_to_geojson', method: 'handle' }
|
||||||
|
|
||||||
netzmacht.contao_leaflet.listeners.hash_subscriber:
|
netzmacht.contao_leaflet.listeners.hash_subscriber:
|
||||||
class: Netzmacht\Contao\Leaflet\Subscriber\HashSubscriber
|
class: Netzmacht\Contao\Leaflet\Listener\HashSubscriber
|
||||||
tags:
|
tags:
|
||||||
- { name: 'kernel.event_subscriber' }
|
- { name: 'kernel.event_subscriber' }
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
* @filesource
|
* @filesource
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Netzmacht\Contao\Leaflet\Subscriber;
|
namespace Netzmacht\Contao\Leaflet\Listener;
|
||||||
|
|
||||||
use Netzmacht\Contao\Leaflet\Event\GetHashEvent;
|
use Netzmacht\Contao\Leaflet\Event\GetHashEvent;
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
Reference in New Issue
Block a user