From a757019a71115250ec82c61aee4f98eab9d134f1 Mon Sep 17 00:00:00 2001 From: Wojciech Kania Date: Sun, 21 Feb 2021 20:28:44 +0100 Subject: [PATCH] [Validator] Mention doctrine-bridge in the UniqueEntity constraint --- reference/constraints/UniqueEntity.rst | 5 +++++ reference/constraints/UserPassword.rst | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/reference/constraints/UniqueEntity.rst b/reference/constraints/UniqueEntity.rst index e6e449d949b..ca0a0be28c6 100644 --- a/reference/constraints/UniqueEntity.rst +++ b/reference/constraints/UniqueEntity.rst @@ -10,6 +10,11 @@ using an email address that already exists in the system. If you want to validate that all the elements of the collection are unique use the :doc:`Unique constraint `. +.. note:: + + In order to use this constraint, you should have installed the + symfony/doctrine-bridge with Composer. + ========== =================================================================== Applies to :ref:`class ` Options - `em`_ diff --git a/reference/constraints/UserPassword.rst b/reference/constraints/UserPassword.rst index 91017168a82..208281df216 100644 --- a/reference/constraints/UserPassword.rst +++ b/reference/constraints/UserPassword.rst @@ -12,7 +12,7 @@ password, but needs to enter their old password for security. .. note:: - In order to use this constraints, you should have installed the + In order to use this constraint, you should have installed the symfony/security-core component with Composer. ========== ===================================================================