diff --git a/reference/constraints/Currency.rst b/reference/constraints/Currency.rst index 778f72a1bcb..901a989010b 100644 --- a/reference/constraints/Currency.rst +++ b/reference/constraints/Currency.rst @@ -3,17 +3,14 @@ Currency Validates that a value is a valid `3-letter ISO 4217`_ currency name. -+----------------+---------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+---------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -+----------------+---------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Currency` | -+----------------+---------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\CurrencyValidator` | -+----------------+---------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\Currency` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\CurrencyValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/EqualTo.rst b/reference/constraints/EqualTo.rst index c69cea6adc5..153d13a3098 100644 --- a/reference/constraints/EqualTo.rst +++ b/reference/constraints/EqualTo.rst @@ -10,19 +10,17 @@ To force that a value is *not* equal, see :doc:`/reference/constraints/NotEqualT equal. Use :doc:`/reference/constraints/IdenticalTo` to compare with ``===``. -+----------------+-----------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+-----------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `propertyPath`_ | -| | - `value`_ | -+----------------+-----------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\EqualTo` | -+----------------+-----------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\EqualToValidator` | -+----------------+-----------------------------------------------------------------------+ + +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ + - `propertyPath`_ + - `value`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\EqualTo` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\EqualToValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/GreaterThan.rst b/reference/constraints/GreaterThan.rst index 5a4bcf6170b..d27017fdbe5 100644 --- a/reference/constraints/GreaterThan.rst +++ b/reference/constraints/GreaterThan.rst @@ -6,19 +6,16 @@ force that a value is greater than or equal to another value, see :doc:`/reference/constraints/GreaterThanOrEqual`. To force a value is less than another value, see :doc:`/reference/constraints/LessThan`. -+----------------+---------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+---------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `propertyPath`_ | -| | - `value`_ | -+----------------+---------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThan` | -+----------------+---------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanValidator` | -+----------------+---------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ + - `propertyPath`_ + - `value`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThan` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/GreaterThanOrEqual.rst b/reference/constraints/GreaterThanOrEqual.rst index a17a0782718..8a054e6bbb9 100644 --- a/reference/constraints/GreaterThanOrEqual.rst +++ b/reference/constraints/GreaterThanOrEqual.rst @@ -5,19 +5,16 @@ Validates that a value is greater than or equal to another value, defined in the options. To force that a value is greater than another value, see :doc:`/reference/constraints/GreaterThan`. -+----------------+----------------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+----------------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `propertyPath`_ | -| | - `value`_ | -+----------------+----------------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanOrEqual` | -+----------------+----------------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanOrEqualValidator` | -+----------------+----------------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ + - `propertyPath`_ + - `value`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanOrEqual` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThanOrEqualValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/Iban.rst b/reference/constraints/Iban.rst index 69843db415a..aa3caeb67f8 100644 --- a/reference/constraints/Iban.rst +++ b/reference/constraints/Iban.rst @@ -6,17 +6,14 @@ format of an `International Bank Account Number (IBAN)`_. IBAN is an internationally agreed means of identifying bank accounts across national borders with a reduced risk of propagating transcription errors. -+----------------+-----------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+-----------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -+----------------+-----------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Iban` | -+----------------+-----------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\IbanValidator` | -+----------------+-----------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\Iban` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\IbanValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/IdenticalTo.rst b/reference/constraints/IdenticalTo.rst index 89f3372b323..10f1fb52342 100644 --- a/reference/constraints/IdenticalTo.rst +++ b/reference/constraints/IdenticalTo.rst @@ -11,19 +11,16 @@ To force that a value is *not* identical, see considered equal. Use :doc:`/reference/constraints/EqualTo` to compare with ``==``. -+----------------+--------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+--------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `propertyPath`_ | -| | - `value`_ | -+----------------+--------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\IdenticalTo` | -+----------------+--------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\IdenticalToValidator`| -+----------------+--------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ + - `propertyPath`_ + - `value`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\IdenticalTo` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\IdenticalToValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/Isbn.rst b/reference/constraints/Isbn.rst index c96e3f94c55..d2ad1e2c909 100644 --- a/reference/constraints/Isbn.rst +++ b/reference/constraints/Isbn.rst @@ -4,21 +4,18 @@ Isbn This constraint validates that an `International Standard Book Number (ISBN)`_ is either a valid ISBN-10 or a valid ISBN-13. -+----------------+----------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+----------------------------------------------------------------------+ -| Options | - `bothIsbnMessage`_ | -| | - `groups`_ | -| | - `isbn10Message`_ | -| | - `isbn13Message`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `type`_ | -+----------------+----------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Isbn` | -+----------------+----------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\IsbnValidator` | -+----------------+----------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `bothIsbnMessage`_ + - `groups`_ + - `isbn10Message`_ + - `isbn13Message`_ + - `message`_ + - `payload`_ + - `type`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\Isbn` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\IsbnValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/Issn.rst b/reference/constraints/Issn.rst index 5c85dea8652..374cc7d2751 100644 --- a/reference/constraints/Issn.rst +++ b/reference/constraints/Issn.rst @@ -4,19 +4,16 @@ Issn Validates that a value is a valid `International Standard Serial Number (ISSN)`_. -+----------------+-----------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+-----------------------------------------------------------------------+ -| Options | - `caseSensitive`_ | -| | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `requireHyphen`_ | -+----------------+-----------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Issn` | -+----------------+-----------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\IssnValidator` | -+----------------+-----------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `caseSensitive`_ + - `groups`_ + - `message`_ + - `payload`_ + - `requireHyphen`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\Issn` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\IssnValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/Json.rst b/reference/constraints/Json.rst index beac690c4f9..6e8318077da 100644 --- a/reference/constraints/Json.rst +++ b/reference/constraints/Json.rst @@ -3,16 +3,13 @@ Json Validates that a value has valid `JSON`_ syntax. -+----------------+-----------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+-----------------------------------------------------------------------+ -| Options | - `message`_ | -| | - `payload`_ | -+----------------+-----------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Json` | -+----------------+-----------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\JsonValidator` | -+----------------+-----------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `message`_ + - `payload`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\Json` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\JsonValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/LessThan.rst b/reference/constraints/LessThan.rst index 701f5660f5e..abd0aab721c 100644 --- a/reference/constraints/LessThan.rst +++ b/reference/constraints/LessThan.rst @@ -6,19 +6,16 @@ force that a value is less than or equal to another value, see :doc:`/reference/constraints/LessThanOrEqual`. To force a value is greater than another value, see :doc:`/reference/constraints/GreaterThan`. -+----------------+------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `propertyPath`_ | -| | - `value`_ | -+----------------+------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\LessThan` | -+----------------+------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\LessThanValidator` | -+----------------+------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ + - `propertyPath`_ + - `value`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\LessThan` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\LessThanValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/LessThanOrEqual.rst b/reference/constraints/LessThanOrEqual.rst index f26a3295e59..42ec3e939e5 100644 --- a/reference/constraints/LessThanOrEqual.rst +++ b/reference/constraints/LessThanOrEqual.rst @@ -5,19 +5,16 @@ Validates that a value is less than or equal to another value, defined in the options. To force that a value is less than another value, see :doc:`/reference/constraints/LessThan`. -+----------------+-------------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+-------------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `propertyPath`_ | -| | - `value`_ | -+----------------+-------------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\LessThanOrEqual` | -+----------------+-------------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\LessThanOrEqualValidator` | -+----------------+-------------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ + - `propertyPath`_ + - `value`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\LessThanOrEqual` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\LessThanOrEqualValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/NotEqualTo.rst b/reference/constraints/NotEqualTo.rst index 0dbaf200739..e1436657ae8 100644 --- a/reference/constraints/NotEqualTo.rst +++ b/reference/constraints/NotEqualTo.rst @@ -11,19 +11,16 @@ options. To force that a value is equal, see equal. Use :doc:`/reference/constraints/NotIdenticalTo` to compare with ``!==``. -+----------------+-------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+-------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `propertyPath`_ | -| | - `value`_ | -+----------------+-------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\NotEqualTo` | -+----------------+-------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\NotEqualToValidator`| -+----------------+-------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ + - `propertyPath`_ + - `value`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\NotEqualTo` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\NotEqualToValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/NotIdenticalTo.rst b/reference/constraints/NotIdenticalTo.rst index 764885e1573..66ccb871670 100644 --- a/reference/constraints/NotIdenticalTo.rst +++ b/reference/constraints/NotIdenticalTo.rst @@ -11,19 +11,16 @@ the options. To force that a value is identical, see considered not equal. Use :doc:`/reference/constraints/NotEqualTo` to compare with ``!=``. -+----------------+-----------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+-----------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -| | - `propertyPath`_ | -| | - `value`_ | -+----------------+-----------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\NotIdenticalTo` | -+----------------+-----------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Validator\\Constraints\\NotIdenticalToValidator`| -+----------------+-----------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ + - `propertyPath`_ + - `value`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\NotIdenticalTo` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\NotIdenticalToValidator` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/Traverse.rst b/reference/constraints/Traverse.rst index 7c6e5aefaa8..852f17cdd01 100644 --- a/reference/constraints/Traverse.rst +++ b/reference/constraints/Traverse.rst @@ -6,14 +6,12 @@ public or having public accessor methods (e.g. a public getter). If your object needs to be traversed to validate its data, you can use this constraint. -+----------------+-------------------------------------------------------------------------------------+ -| Applies to | :ref:`class ` | -+----------------+-------------------------------------------------------------------------------------+ -| Options | - `payload`_ | -| | - :ref:`traverse ` | -+----------------+-------------------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Traverse` | -+----------------+-------------------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`class ` +Options - `payload`_ + - :ref:`traverse ` +Class :class:`Symfony\\Component\\Validator\\Constraints\\Traverse` +========== =================================================================== Basic Usage ----------- diff --git a/reference/constraints/UserPassword.rst b/reference/constraints/UserPassword.rst index 897f809208c..9655380bf95 100644 --- a/reference/constraints/UserPassword.rst +++ b/reference/constraints/UserPassword.rst @@ -15,17 +15,14 @@ password, but needs to enter their old password for security. In order to use this constraints, you should have installed the symfony/security-core component with Composer. -+----------------+--------------------------------------------------------------------------------------------+ -| Applies to | :ref:`property or method ` | -+----------------+--------------------------------------------------------------------------------------------+ -| Options | - `groups`_ | -| | - `message`_ | -| | - `payload`_ | -+----------------+--------------------------------------------------------------------------------------------+ -| Class | :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPassword` | -+----------------+--------------------------------------------------------------------------------------------+ -| Validator | :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPasswordValidator` | -+----------------+--------------------------------------------------------------------------------------------+ +========== =================================================================== +Applies to :ref:`property or method ` +Options - `groups`_ + - `message`_ + - `payload`_ +Class :class:`Symfony\\Component\\Validator\\Constraints\\UserPassword` +Validator :class:`Symfony\\Component\\Validator\\Constraints\\UserPasswordValidator` +========== =================================================================== Basic Usage -----------