From 8dbe464ca81b7f4adc91d1c14c98b4ca9d53cae9 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Tue, 17 Oct 2017 17:58:55 +0200 Subject: [PATCH] Move hash subscriber to the listener namespace. --- src/Bundle/Resources/config/listeners.yml | 2 +- src/{Subscriber => Listener}/HashSubscriber.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{Subscriber => Listener}/HashSubscriber.php (97%) diff --git a/src/Bundle/Resources/config/listeners.yml b/src/Bundle/Resources/config/listeners.yml index d3838c2..89ba6f8 100644 --- a/src/Bundle/Resources/config/listeners.yml +++ b/src/Bundle/Resources/config/listeners.yml @@ -69,7 +69,7 @@ services: - { name: 'kernel.event_listener', event: 'netzmacht.contao_leaflet.mapper.convert_to_geojson', method: 'handle' } netzmacht.contao_leaflet.listeners.hash_subscriber: - class: Netzmacht\Contao\Leaflet\Subscriber\HashSubscriber + class: Netzmacht\Contao\Leaflet\Listener\HashSubscriber tags: - { name: 'kernel.event_subscriber' } diff --git a/src/Subscriber/HashSubscriber.php b/src/Listener/HashSubscriber.php similarity index 97% rename from src/Subscriber/HashSubscriber.php rename to src/Listener/HashSubscriber.php index 94419f3..bd4a9a8 100644 --- a/src/Subscriber/HashSubscriber.php +++ b/src/Listener/HashSubscriber.php @@ -10,7 +10,7 @@ * @filesource */ -namespace Netzmacht\Contao\Leaflet\Subscriber; +namespace Netzmacht\Contao\Leaflet\Listener; use Netzmacht\Contao\Leaflet\Event\GetHashEvent; use Symfony\Component\EventDispatcher\EventSubscriberInterface;