8000 Tweaking things per @stof · lmcd/symfony-docs@2f3285d · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f3285d

Browse files
committed
Tweaking things per @stof
1 parent a33c258 commit 2f3285d

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

book/doctrine.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ doesn't replace your existing methods).
269269

270270
.. note::
271271

272-
Doctrine doesn't care whether your properties are ``public``, ``protected``
273-
or ``private``, or whether or not you have a getter or setter function
274-
for a property. The getters and setters are generated here only because
275-
you'll need them to interact with your PHP object.
272+
Doctrine doesn't care whether your properties are ``protected`` or ``private``,
273+
or whether or not you have a getter or setter function for a property.
274+
The getters and setters are generated here only because you'll need them
275+
to interact with your PHP object.
276276

277277
.. tip::
278278

cookbook/doctrine/mongodb.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ of your project:
3535
.. code-block:: text
3636
3737
DoctrineMongoDBBundle /bundles/Symfony/Bundle git://github.com/symfony/DoctrineMongoDBBundle.git
38-
mongodb-odm / git://github.com/doctrine/mongodb-odm.git
39-
mongodb / git://github.com/doctrine/mongodb.git
38+
doctrine-mongodb-odm / git://github.com/doctrine/mongodb-odm.git
39+
doctrine-mongodb / git://github.com/doctrine/mongodb.git
4040
4141
Now, update the vendor libraries by running:
4242

@@ -51,8 +51,8 @@ Be sure to add them anywhere *above* the ``Doctrine`` namespace (shown here)::
5151
// app/autoload.php
5252
$loader->registerNamespaces(array(
5353
// ...
54-
'Doctrine\\ODM\\MongoDB' => __DIR__.'/../vendor/mongodb-odm/lib',
55-
'Doctrine\\MongoDB' => __DIR__.'/../vendor/mongodb/lib',
54+
'Doctrine\\ODM\\MongoDB' => __DIR__.'/../vendor/doctrine-mongodb-odm/lib',
55+
'Doctrine\\MongoDB' => __DIR__.'/../vendor/doctrine-mongodb/lib',
5656
'Doctrine' => __DIR__.'/../vendor/doctrine/lib',
5757
// ...
5858
));
@@ -251,10 +251,10 @@ doesn't replace your existing methods).
251251

252252
.. note::
253253

254-
Doctrine doesn't care whether your properties are ``public``, ``protected``
255-
or ``private``, or whether or not you have a getter or setter function
256-
for a property. The getters and setters are generated here only because
257-
you'll need them to interact with your PHP object.
254+
Doctrine doesn't care whether your properties are ``protected`` or ``private``,
255+
or whether or not you have a getter or setter function for a property.
256+
The getters and setters are generated here only because you'll need them
257+
to interact with your PHP object.
258258

259259
Persisting Objects to MongoDB
260260
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -309,9 +309,9 @@ Let's walk through this example:
309309

310310
.. note::
311311

312-
In fact, since Doctrine is aware of all your managed objects, when you
313-
call the ``flush()`` method, it calculates an overall changeset and executes
314-
the most efficient operation possible.
312+
In fact, since Doctrine is aware of all your managed objects, when you
313+
call the ``flush()`` method, it calculates an overall changeset and executes
314+
the most efficient operation possible.
315315

316316
When creating or updating objects, the workflow is always the same. In the
317317
next section, you'll see how Doctrine is smart enough to update entries if

0 commit comments

Comments
 (0)
0