File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -395,13 +395,13 @@ Take a look at the previous example in more detail:
395
395
the controller method. This object is responsible for saving objects to, and
396
396
fetching objects from, the database.
397
397
398
- * **lines 17-20 ** In this section, you instantiate and work with the ``$product ``
398
+ * **lines 15-18 ** In this section, you instantiate and work with the ``$product ``
399
399
object like any other normal PHP object.
400
400
401
- * **line 23 ** The ``persist($product) `` call tells Doctrine to "manage" the
401
+ * **line 21 ** The ``persist($product) `` call tells Doctrine to "manage" the
402
402
``$product `` object. This does **not ** cause a query to be made to the database.
403
403
404
- * **line 26 ** When the ``flush() `` method is called, Doctrine looks through
404
+ * **line 24 ** When the ``flush() `` method is called, Doctrine looks through
405
405
all of the objects that it's managing to see if they need to be persisted
406
406
to the database. In this example, the ``$product `` object's data doesn't
407
407
exist in the database, so the entity manager executes an ``INSERT `` query,
You can’t perform that action at this time.
0 commit comments