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 81b4157

Browse filesBrowse files
bug #31418 [FrameworkBundle] clarify the possible class/interface of the cache (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] clarify the possible class/interface of the cache | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | 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. Commits ------- 4027374 clarify the possible class/interface of the cache
2 parents 9ce27da + 4027374 commit 81b4157
Copy full SHA for 81b4157

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

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.