Skip to content

Commit c1fa621

Browse files
committed
f
1 parent 65d5b7c commit c1fa621

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

composer.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,9 @@
1717

1818
"doctrine/inflector": "^1.0",
1919
"psr/cache": "^1.0",
20-
<<<<<<< HEAD
2120
"psr/container": "^1.0",
2221
"symfony/http-foundation": "^3.3@beta",
2322
"symfony/http-kernel": "^3.3@beta",
24-
=======
25-
"symfony/http-foundation": "^3.1.6",
26-
"symfony/http-kernel": "^2.7 || ^3.0",
27-
>>>>>>> Fix tests
2823
"symfony/property-access": "^2.7 || ^3.0",
2924
"symfony/property-info": "^3.3@beta",
3025
"symfony/serializer": "^3.3@beta",

src/Bridge/Symfony/Bundle/Resources/config/http_cache.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
66

77
<services>
8-
<service id="api_platform.http_cache.listener.response.configure" class="ApiPlatform\Core\HttpCache\EventListener\ConfigureListener">
8+
<service id="api_platform.http_cache.listener.response.configure" class="ApiPlatform\Core\HttpCache\EventListener\AddHeadersListener">
99
<argument>%api_platform.http_cache.etag%</argument>
1010
<argument>%api_platform.http_cache.max_age%</argument>
1111
<argument>%api_platform.http_cache.shared_max_age%</argument>

src/HttpCache/EventListener/ConfigureListener.php renamed to src/HttpCache/EventListener/AddHeadersListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @experimental
2424
*/
25-
final class ConfigureListener
25+
final class AddHeadersListener
2626
{
2727
private $etag;
2828
private $maxAge;

0 commit comments

Comments
 (0)