Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4027374

Browse filesBrowse files
committed
clarify the possible class/interface of the cache
When the fallback cache pool is returned (on PHP 5.6, HHVM, or when Opcache is disabled), the configured service can be any implementation of the CacheItemPoolInterface.
1 parent 75d1dd4 commit 4027374
Copy full SHA for 4027374

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer.xml

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/serializer.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<tag name="kernel.cache_warmer" />
8383
</service>
8484

85-
<service id="serializer.mapping.cache.symfony" class="Symfony\Component\Cache\Adapter\PhpArrayAdapter">
85+
<service id="serializer.mapping.cache.symfony" class="Psr\Cache\CacheItemPoolInterface">
8686
<factory class="Symfony\Component\Cache\Adapter\PhpArrayAdapter" method="create" />
8787
<argument>%serializer.mapping.cache.file%</argument>
8888
<argument type="service" id="cache.serializer" />

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.