From b269ff05ffb76439522f110cb7d5d3b75301eb92 Mon Sep 17 00:00:00 2001 From: sr972 Date: Fri, 25 Jul 2014 08:09:54 +0200 Subject: [PATCH] Update doctrine.rst In 'Deleting an Object' you are not going to delete the entity itself but the given object. --- book/doctrine.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/doctrine.rst b/book/doctrine.rst index ad681d971a4..84a54b49017 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -699,7 +699,7 @@ method of the entity manager:: $em->flush(); As you might expect, the ``remove()`` method notifies Doctrine that you'd -like to remove the given entity from the database. The actual ``DELETE`` query, +like to remove the given object from the database. The actual ``DELETE`` query, however, isn't actually executed until the ``flush()`` method is called. .. _`book-doctrine-queries`: