Skip to content

Commit 9b8bdb8

Browse files
committed
minor #9270 Fix in line numbering (axzx)
This PR was merged into the 4.0 branch. Discussion ---------- Fix in line numbering Commits ------- eac908c Fix in line numbering
2 parents 906e431 + eac908c commit 9b8bdb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doctrine.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -384,17 +384,17 @@ Take a look at the previous example in more detail:
384384

385385
.. _doctrine-entity-manager:
386386

387-
* **line 17** The ``$this->getDoctrine()->getManager()`` method gets Doctrine's
387+
* **line 16** The ``$this->getDoctrine()->getManager()`` method gets Doctrine's
388388
*entity manager* object, which is the most important object in Doctrine. It's
389389
responsible for saving objects to, and fetching objects from, the database.
390390

391-
* **lines 19-22** In this section, you instantiate and work with the ``$product``
391+
* **lines 18-21** In this section, you instantiate and work with the ``$product``
392392
object like any other normal PHP object.
393393

394-
* **line 25** The ``persist($product)`` call tells Doctrine to "manage" the
394+
* **line 24** The ``persist($product)`` call tells Doctrine to "manage" the
395395
``$product`` object. This does **not** cause a query to be made to the database.
396396

397-
* **line 28** When the ``flush()`` method is called, Doctrine looks through
397+
* **line 27** When the ``flush()`` method is called, Doctrine looks through
398398
all of the objects that it's managing to see if they need to be persisted
399399
to the database. In this example, the ``$product`` object's data doesn't
400400
exist in the database, so the entity manager executes an ``INSERT`` query,

0 commit comments

Comments
 (0)