From 57fe57b8ea988e131e10bc0a458b080a8eceb25b Mon Sep 17 00:00:00 2001 From: David Molineus Date: Tue, 17 Oct 2017 17:48:14 +0200 Subject: [PATCH] Move encoder subscriber to encoder namespace. --- src/Bundle/Resources/config/encoders.yml | 2 +- src/{ => Encoder}/Subscriber/EncoderSubscriber.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{ => Encoder}/Subscriber/EncoderSubscriber.php (98%) diff --git a/src/Bundle/Resources/config/encoders.yml b/src/Bundle/Resources/config/encoders.yml index b4ac73e..62b6890 100644 --- a/src/Bundle/Resources/config/encoders.yml +++ b/src/Bundle/Resources/config/encoders.yml @@ -42,6 +42,6 @@ services: - { name: netzmacht.contao_leaflet.encoder } netzmacht.contao_leaflet.encoder.subscriber: - class: Netzmacht\Contao\Leaflet\Subscriber\EncoderSubscriber + class: Netzmacht\Contao\Leaflet\Encoder\Subscriber\EncoderSubscriber tags: - { name: netzmacht.contao_leaflet.encoder } diff --git a/src/Subscriber/EncoderSubscriber.php b/src/Encoder/Subscriber/EncoderSubscriber.php similarity index 98% rename from src/Subscriber/EncoderSubscriber.php rename to src/Encoder/Subscriber/EncoderSubscriber.php index 7890246..74b01d6 100644 --- a/src/Subscriber/EncoderSubscriber.php +++ b/src/Encoder/Subscriber/EncoderSubscriber.php @@ -10,7 +10,7 @@ * @filesource */ -namespace Netzmacht\Contao\Leaflet\Subscriber; +namespace Netzmacht\Contao\Leaflet\Encoder\Subscriber; use Netzmacht\Contao\Leaflet\Frontend\RequestUrl; use Netzmacht\JavascriptBuilder\Exception\EncodeValueFailed;