Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 2201e15

Browse files
committed
Merge branch 'master' into dev
Conflicts: bundles/phpcr_odm.rst cookbook/editions/cmf_sandbox.rst
2 parents aff5637 + 5bf165e commit 2201e15

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

cookbook/editions/cmf_sandbox.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ After this, your should follow the steps in `Preparing the PHPCR repository`_.
213213
Doctrine caching
214214
................
215215

216-
Optionally, to improve performance, you can install
217-
DoctrineCacheBundle by typing the following command:
216+
Optionally, to improve performance, you can install DoctrineCacheBundle by
217+
typing the following command:
218218

219219
.. code-block:: bash
220220
221-
$ php composer.phar require "doctrine/cache-bundle:1.0.*"
221+
$ php composer.phar require doctrine/cache-bundle:1.0.*
222222
223223
And adding the following entry to your ``app/AppKernel.php``::
224224

quick_tour/the_model.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ of the CMF.
1414
is storage agnosticly created, meaning it is not tied to specific storage
1515
system.
1616

17-
Getting Familair with PHPCR
17+
Getting Familiar with PHPCR
1818
---------------------------
1919

2020
PHPCR_ stores all data into one big tree structure. You can compare this to a
@@ -92,9 +92,17 @@ by creating a new class in the AcmeMainBundle::
9292

9393
use Doctrine\Common\Persistence\ObjectManager;
9494
use Doctrine\Common\DataFixtures\FixtureInterface;
95+
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
9596

96-
class LoadPageData implements FixtureInterface
97+
class LoadPageData implements FixtureInterface, OrderedFixtureInterface
9798
{
99+
public function getOrder()
100+
{
101+
// refers to the order in which the class' load function is called
102+
// (lower return values are called first)
103+
return 10;
104+
}
105+
98106
public function load(ObjectManager $documentManager)
99107
{
100108
}

0 commit comments

Comments
 (0)