@@ -21,8 +21,15 @@ Add the following to ``bin/vendors.sh``, right after the "Monolog" entry:
2121.. code-block :: text
2222
2323 # Doctrine Fixtures
24- install_git doctrine-fixtures git ://github.com/doctrine/data-fixtures.git
24+ install_git doctrine-fixtures https ://github.com/doctrine/data-fixtures.git
2525
26+ And also, the following after the "WebConfiguratorBundle" entry:
27+
28+ .. code-block :: text
29+
30+ # DoctrineFixturesBundle
31+ install_git DoctrineFixturesBundle https://github.com/symfony/DoctrineFixturesBundle.git
32+
2633 Update vendors and rebuild the bootstrap file:
2734
2835.. code-block :: bash
@@ -100,13 +107,13 @@ Executing Fixtures
100107------------------
101108
102109Once your fixtures have been written, you can load them via the command
103- line by using the ``doctrine:data :load `` command:
110+ line by using the ``doctrine:fixtures :load `` command:
104111
105112.. code-block :: bash
106113
107- $ php app/console doctrine:data :load
114+ $ php app/console doctrine:fixtures :load
108115
109- If you're using the ODM, use the ``doctrine:mongodb:data :load `` command instead:
116+ If you're using the ODM, use the ``doctrine:mongodb:fixtures :load `` command instead:
110117
111118.. code-block :: bash
112119
@@ -129,14 +136,14 @@ Both commands come with a few options:
129136
130137.. note ::
131138
132- If using the ``doctrine:mongodb:data :load `` task, replace the ``--em= ``
139+ If using the ``doctrine:mongodb:fixtures :load `` task, replace the ``--em= ``
133140 option with ``--dm= `` to manually specify the document manager.
134141
135142A full example use might look like this:
136143
137144.. code-block :: bash
138145
139- $ php app/console doctrine:data :load --fixtures=/path/to/fixture1 --fixtures=/path/to/fixture2 --append --em=foo_manager
146+ $ php app/console doctrine:fixtures :load --fixtures=/path/to/fixture1 --fixtures=/path/to/fixture2 --append --em=foo_manager
140147
141148 Sharing Objects between Fixtures
142149--------------------------------
0 commit comments