File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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:
395395 the controller method. This object is responsible for saving objects to, and
396396 fetching objects from, the database.
397397
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 ``
399399 object like any other normal PHP object.
400400
401- * **line 23 ** The ``persist($product) `` call tells Doctrine to "manage" the
401+ * **line 21 ** The ``persist($product) `` call tells Doctrine to "manage" the
402402 ``$product `` object. This does **not ** cause a query to be made to the database.
403403
404- * **line 26 ** When the ``flush() `` method is called, Doctrine looks through
404+ * **line 24 ** When the ``flush() `` method is called, Doctrine looks through
405405 all of the objects that it's managing to see if they need to be persisted
406406 to the database. In this example, the ``$product `` object's data doesn't
407407 exist in the database, so the entity manager executes an ``INSERT `` query,
You can’t perform that action at this time.
0 commit comments