This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -461,6 +461,7 @@ not configure anything here, the ODM services will not be loaded.
461
461
instance_class : ~
462
462
class : ~
463
463
id : ~
464
+ namespace : ~
464
465
465
466
466
467
.. code-block :: xml
@@ -496,6 +497,7 @@ not configure anything here, the ODM services will not be loaded.
496
497
instance-class =" null"
497
498
class =" null"
498
499
id =" null"
500
+ namespace =" null"
499
501
/>
500
502
</odm >
501
503
</config >
@@ -528,6 +530,7 @@ not configure anything here, the ODM services will not be loaded.
528
530
'instance_class' => null,
529
531
'class' => null,
530
532
'id' => null,
533
+ 'namespace' => null,
531
534
),
532
535
),
533
536
));
@@ -584,6 +587,14 @@ metadata_cache_driver
584
587
Configure a cache driver for the Doctrine metadata. This is the same as for
585
588
`Doctrine ORM `_.
586
589
590
+ The ``namespace `` value is useful if you are using one primary caching server
591
+ for multiple sites that have similar code in their respective ``vendor/ ``
592
+ directories. By default, Symfony will try to generate a unique namespace
593
+ value for each application but if code is very similar between two
594
+ applications, it is very easy to have two applications share the same
595
+ namespace. This option also prevents Symfony from needing to re-build
596
+ applicationcache on each Composer update on a newly generated namespace.
597
+
587
598
General Settings
588
599
~~~~~~~~~~~~~~~~
589
600
You can’t perform that action at this time.
0 commit comments