Skip to content

Commit a757019

Browse files
committed
[Validator] Mention doctrine-bridge in the UniqueEntity constraint
1 parent 4e212ee commit a757019

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

reference/constraints/UniqueEntity.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ using an email address that already exists in the system.
1010
If you want to validate that all the elements of the collection are unique
1111
use the :doc:`Unique constraint </reference/constraints/Unique>`.
1212

13+
.. note::
14+
15+
In order to use this constraint, you should have installed the
16+
symfony/doctrine-bridge with Composer.
17+
1318
========== ===================================================================
1419
Applies to :ref:`class <validation-class-target>`
1520
Options - `em`_

reference/constraints/UserPassword.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ password, but needs to enter their old password for security.
1212

1313
.. note::
1414

15-
In order to use this constraints, you should have installed the
15+
In order to use this constraint, you should have installed the
1616
symfony/security-core component with Composer.
1717

1818
========== ===================================================================

0 commit comments

Comments
 (0)