@@ -205,7 +205,7 @@ Full Default Configuration
205
205
password =" secret"
206
206
driver =" pdo_mysql"
207
207
driver-class =" MyNamespace\MyDriverImpl"
208
- path =" %kernel.root_dir%/.. /var/data/data.sqlite"
208
+ path =" %kernel.project_dir% /var/data/data.sqlite"
209
209
memory =" true"
210
210
unix-socket =" /tmp/mysql.sock"
211
211
wrapper-class =" MyDoctrineDbalConnectionWrapper"
@@ -264,7 +264,7 @@ Full Default Configuration
264
264
<doctrine : mapping
265
265
name =" DoctrineExtensions"
266
266
type =" xml"
267
- dir =" %kernel.root_dir%/.. /vendor/gedmo/doctrine-extensions/lib/DoctrineExtensions/Entity"
267
+ dir =" %kernel.project_dir% /vendor/gedmo/doctrine-extensions/lib/DoctrineExtensions/Entity"
268
268
prefix =" DoctrineExtensions\Entity"
269
269
alias =" DExt"
270
270
/>
@@ -340,7 +340,7 @@ Path to the mapping or entity files (depending on the driver). If this path
340
340
is relative it is assumed to be relative to the bundle root. This only works
341
341
if the name of your mapping is a bundle name. If you want to use this option
342
342
to specify absolute paths you should prefix the path with the kernel parameters
343
- that exist in the DIC (for example ``%kernel.root_dir % ``).
343
+ that exist in the DIC (for example ``%kernel.project_dir % ``).
344
344
345
345
prefix
346
346
......
@@ -398,7 +398,7 @@ The following block shows all possible configuration keys:
398
398
# the DBAL driverOptions option
399
399
options :
400
400
foo : bar
401
- path : ' %kernel.root_dir%/data /data.sqlite'
401
+ path : ' %kernel.project_dir%ta /data.sqlite'
402
402
memory : true
403
403
unix_socket : /tmp/mysql.sock
404
404
# the DBAL wrapperClass option
@@ -434,7 +434,7 @@ The following block shows all possible configuration keys:
434
434
password =" secret"
435
435
driver =" pdo_mysql"
436
436
driver-class =" MyNamespace\MyDriverImpl"
437
- path =" %kernel.root_dir%/.. /var/data/data.sqlite"
437
+ path =" %kernel.project_dir% /var/data/data.sqlite"
438
438
memory =" true"
439
439
unix-socket =" /tmp/mysql.sock"
440
440
wrapper-class =" MyDoctrineDbalConnectionWrapper"
@@ -605,7 +605,7 @@ namespace in the ``src/Entity`` directory and gives them an ``App`` alias
605
605
# ...
606
606
SomeEntityNamespace :
607
607
type : annotation
608
- dir : ' %kernel.root_dir%/.. /src/Entity'
608
+ dir : ' %kernel.project_dir% /src/Entity'
609
609
is_bundle : false
610
610
prefix : App\Entity
611
611
alias : App
@@ -620,7 +620,7 @@ namespace in the ``src/Entity`` directory and gives them an ``App`` alias
620
620
<doctrine : orm >
621
621
<mapping name =" SomeEntityNamespace"
622
622
type =" annotation"
623
- dir =" %kernel.root_dir%/.. /src/Entity"
623
+ dir =" %kernel.project_dir% /src/Entity"
624
624
is-bundle =" false"
625
625
prefix =" App\Entity"
626
626
alias =" App"
@@ -637,7 +637,7 @@ namespace in the ``src/Entity`` directory and gives them an ``App`` alias
637
637
'mappings' => array(
638
638
'SomeEntityNamespace' => array(
639
639
'type' => 'annotation',
640
- 'dir' => '%kernel.root_dir%/.. /src/Entity',
640
+ 'dir' => '%kernel.project_dir% /src/Entity',
641
641
'is_bundle' => false,
642
642
'prefix' => 'App\Entity',
643
643
'alias' => 'App',
0 commit comments