Move hash subscriber to the listener namespace.

This commit is contained in:
David Molineus
2017-10-17 17:58:55 +02:00
parent d261e8b4ba
commit 8dbe464ca8
2 changed files with 2 additions and 2 deletions

View File

@@ -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' }

View File

@@ -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;