You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #44998 [FrameworkBundle] Allow default cache pools to be overwritten by user (Seldaek)
This PR was merged into the 5.3 branch.
Discussion
----------
[FrameworkBundle] Allow default cache pools to be overwritten by user
| Q | A
| ------------- | ---
| Branch? | 5.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fixes#44984
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
<!--
Replace this notice by a short README for your feature/bugfix.
This will help reviewers and should be a good start for the documentation.
Additionally (see https://symfony.com/releases):
- Always add tests and ensure they pass.
- Bug fixes must be submitted against the lowest maintained branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too.)
- Features and deprecations must be submitted against the latest branch.
- Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- Never break backward compatibility (see https://symfony.com/bc).
-->
Commits
-------
cc7cf5a [FrameworkBundle] Allow default cache pools to be overwritten by user
if ($this->isConfigEnabled($container, $config['session'])) {
314
-
if (!\extension_loaded('session')) {
315
-
thrownewLogicException('Session support cannot be enabled as the session extension is not installed. See https://php.net/session.installation for instructions.');
// register cache & dependencies last so that user-defined cache pools take precedence over the default pools created above (e.g. in rate_limiter, validation)
// register session after cache so both can share the connection services
446
+
if ($this->isConfigEnabled($container, $config['session'])) {
447
+
if (!\extension_loaded('session')) {
448
+
thrownewLogicException('Session support cannot be enabled as the session extension is not installed. See https://php.net/session.installation for instructions.');
0 commit comments