From c21aaebbc4159f27d6db1194d585ba8895057f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pipa?= Date: Mon, 31 Oct 2011 17:09:15 +0100 Subject: [PATCH] Changed 'Symfony 2' to 'Symfony2'. http://symfony.com/blog/talk-about-symfony2-not-symfony-2 --- en/reference/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/reference/faq.rst b/en/reference/faq.rst index 91d39a291..9c5b1faad 100644 --- a/en/reference/faq.rst +++ b/en/reference/faq.rst @@ -58,7 +58,7 @@ or adding entities to a collection twice. You have to check for both conditions in the code before calling ``$em->flush()`` if you know that unique constraint failures can occur. -In `Symfony 2 `_ for example there is a Unique Entity Validator +In `Symfony2 `_ for example there is a Unique Entity Validator to achieve this task. For collections you can check with ``$collection->contains($entity)`` if an entity is already