1
0
mirror of synced 2025-02-20 22:23:14 +03:00

Merge pull request #52 from michal-pipa/c21aaebbc4159f27d6db1194d585ba8895057f6a

Changed 'Symfony 2' to 'Symfony2'.
This commit is contained in:
Guilherme Blanco 2011-10-31 09:16:11 -07:00
commit 981a2d4341

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