Skip to content

Commit 8d86c4f

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Fix doc of cache prefix and namespace
2 parents c82ee6c + 966e1e0 commit 8d86c4f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cache.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ You can also create more customized pools:
308308
Each pool manages a set of independent cache keys: keys from different pools
309309
*never* collide, even if they share the same backend. This is achieved by prefixing
310310
keys with a namespace that's generated by hashing the name of the pool, the name
311-
of the compiled container class and a :ref:`configurable seed <reference-cache-prefix-seed>`
312-
that defaults to the project directory.
311+
of the cache adapter class and a :ref:`configurable seed <reference-cache-prefix-seed>`
312+
that defaults to the project directory and compiled container class.
313313

314314
Each custom pool becomes a service whose service ID is the name of the pool
315315
(e.g. ``custom_thing.cache``). An autowiring alias is also created for each pool

reference/configuration/framework.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,7 @@ email_validation_mode
26332633

26342634
**type**: ``string`` **default**: ``loose``
26352635

2636-
Sets the default value for
2636+
Sets the default value for
26372637
:doc:`/reference/constraints/Email` validator. The possible values are:
26382638

26392639
* ``loose``, it uses a simple regular expression to validate the address (it
@@ -3091,9 +3091,9 @@ The cache clearer used to clear your PSR-6 cache.
30913091
prefix_seed
30923092
...........
30933093

3094-
**type**: ``string`` **default**: ``null``
3094+
**type**: ``string`` **default**: ``_%kernel.project_dir%.%kernel.container_class%``
30953095

3096-
If defined, this value is used as part of the "namespace" generated for the
3096+
This value is used as part of the "namespace" generated for the
30973097
cache item keys. A common practice is to use the unique name of the application
30983098
(e.g. ``symfony.com``) because that prevents naming collisions when deploying
30993099
multiple applications into the same path (on different servers) that share the

0 commit comments

Comments
 (0)