1
0
mirror of synced 2025-01-18 22:41:43 +03:00

Changed 'Symfony 2' to 'Symfony2'.

http://symfony.com/blog/talk-about-symfony2-not-symfony-2
This commit is contained in:
Michał Pipa 2011-10-31 17:09:15 +01:00
parent 0317f43987
commit c21aaebbc4

View File

@ -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 <http://www.symfony.com>`_ for example there is a Unique Entity Validator
In `Symfony2 <http://www.symfony.com>`_ 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