@@ -54,7 +54,7 @@ doctrine:
5454# only these lines are added additionally
5555 mappings :
5656 translatable :
57- type : annotation
57+ type : annotation # or attribute
5858 alias : Gedmo
5959 prefix : Gedmo\Translatable\Entity
6060 # make sure vendor library location is correct
@@ -79,7 +79,7 @@ to you also. To skip mapping of these entities, you can map **only superclasses*
7979``` yaml
8080mappings :
8181 translatable :
82- type : annotation
82+ type : annotation # or attribute
8383 alias : Gedmo
8484 prefix : Gedmo\Translatable\Entity
8585 # make sure vendor library location is correct
@@ -106,18 +106,18 @@ orm:
106106# only these lines are added additionally
107107 mappings :
108108 translatable :
109- type : annotation
109+ type : annotation # or attribute
110110 alias : Gedmo
111111 prefix : Gedmo\Translatable\Entity
112112 # make sure vendor library location is correct
113113 dir : " %kernel.root_dir%/../vendor/gedmo/doctrine-extensions/src/Translatable/Entity"
114114 loggable :
115- type : annotation
115+ type : annotation # or attribute
116116 alias : Gedmo
117117 prefix : Gedmo\Loggable\Entity
118118 dir : " %kernel.root_dir%/../vendor/gedmo/doctrine-extensions/src/Loggable/Entity"
119119 tree :
120- type : annotation
120+ type : annotation # or attribute
121121 alias : Gedmo
122122 prefix : Gedmo\Tree\Entity
123123 dir : " %kernel.root_dir%/../vendor/gedmo/doctrine-extensions/src/Tree/Entity"
@@ -446,7 +446,7 @@ doctrine_mongodb:
446446 auto_mapping : true
447447 mappings :
448448 translatable :
449- type : annotation
449+ type : annotation # or attribute
450450 alias : GedmoDocument
451451 prefix : Gedmo\Translatable\Document
452452 # make sure vendor library location is correct
0 commit comments