Merge pull request #52 from michal-pipa/c21aaebbc4159f27d6db1194d585ba8895057f6a
Changed 'Symfony 2' to 'Symfony2'.
This commit is contained in:
commit
981a2d4341
@ -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
|
in the code before calling ``$em->flush()`` if you know that unique constraint failures
|
||||||
can occur.
|
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.
|
to achieve this task.
|
||||||
|
|
||||||
For collections you can check with ``$collection->contains($entity)`` if an entity is already
|
For collections you can check with ``$collection->contains($entity)`` if an entity is already
|
||||||
|
Loading…
x
Reference in New Issue
Block a user