Skip to content

Commit 4afc812

Browse files
committed
moved all listeners to EventListener subnamespace
1 parent b516556 commit 4afc812

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Request/CacheAuthorizationListener.php renamed to EventListener/CacheAuthorizationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Liip\CacheControlBundle\Request;
3+
namespace Liip\CacheControlBundle\EventListener;
44

55
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
66
use Symfony\Component\HttpFoundation\Response;

Response/CacheControlListener.php renamed to EventListener/CacheControlListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Liip\CacheControlBundle\Response;
3+
namespace Liip\CacheControlBundle\EventListener;
44

55
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
66
use Symfony\Component\HttpFoundation\Response;

Resources/config/authorization_request_listener.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<services>
88

9-
<service id="liip_cache_control.cache_authorization_listener" class="Liip\CacheControlBundle\Request\CacheAuthorizationListener">
9+
<service id="liip_cache_control.cache_authorization_listener" class="Liip\CacheControlBundle\EventListener\CacheAuthorizationListener">
1010
<tag name="kernel.listener" event="core.request" method="onCoreRequest" priority="-129" />
1111
</service>
1212

Resources/config/rule_response_listener.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<services>
88

9-
<service id="liip_cache_control.response_listener" class="Liip\CacheControlBundle\Response\CacheControlListener">
9+
<service id="liip_cache_control.response_listener" class="Liip\CacheControlBundle\EventListener\CacheControlListener">
1010
<tag name="kernel.listener" event="core.response" method="onCoreResponse" />
1111
</service>
1212

0 commit comments

Comments
 (0)