@@ -451,6 +451,9 @@ not configure anything here, the ODM services will not be loaded.
451
451
auto_generate_proxy_classes : " %kernel.debug%"
452
452
proxy_dir : " %kernel.cache_dir%/doctrine/PHPCRProxies"
453
453
proxy_namespace : PHPCRProxies
454
+ namespaces :
455
+ translation :
456
+ alias : phpcr_locale
454
457
455
458
metadata_cache_driver :
456
459
type : array
@@ -477,6 +480,10 @@ not configure anything here, the ODM services will not be loaded.
477
480
proxy-dir =" %kernel.cache_dir%/doctrine/PHPCRProxies"
478
481
proxy-namespace =" PHPCRProxies"
479
482
>
483
+ <namespaces >
484
+ <translation alias =" phpcr_locale" />
485
+ </namespaces >
486
+
480
487
<mappings >
481
488
<"name"
482
489
mapping="true"
@@ -511,6 +518,11 @@ not configure anything here, the ODM services will not be loaded.
511
518
'auto_generate_proxy_classes' => '%kernel.debug%',
512
519
'proxy-dir' => '%kernel.cache_dir%/doctrine/PHPCRProxies',
513
520
'proxy_namespace' => 'PHPCRProxies',
521
+ 'namespaces' => array(
522
+ 'translation' => array(
523
+ 'alias' => 'phpcr_locale',
524
+ ),
525
+ ),
514
526
'mappings' => array(
515
527
'<name >' => array(
516
528
'mapping' => true,
@@ -572,6 +584,13 @@ Change folder where proxy classes are generated.
572
584
573
585
Change namespace for generated proxy classes.
574
586
587
+ ``namespaces ``
588
+ """"""""""""""
589
+
590
+ This configuration section is intended to allow you to customize the
591
+ PHPCR namespaces used by PHPCR-ODM. Currently it is only possible to
592
+ set the alias used by the translation strategy.
593
+
575
594
``mappings ``
576
595
""""""""""""
577
596
0 commit comments