Skip to content

Commit

Permalink
[#5957] remove deep parameter documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Dec 9, 2015
1 parent bf48c59 commit e19f7a1
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions reference/constraints/Valid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ an object and all sub-objects associated with it.
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+---------------------------------------------------------------------+
| Options | - `traverse`_ |
| | - `deep`_ (deprecated as of 2.5) |
| | - `payload`_ |
+----------------+---------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Valid` |
Expand Down Expand Up @@ -268,19 +267,4 @@ If this constraint is applied to a property that holds an array of objects,
then each object in that array will be validated only if this option is
set to ``true``.

deep
~~~~

.. caution::

The ``deep`` option was deprecated in Symfony 2.5 and will be removed
in Symfony 3.0. When traversing arrays, nested arrays are always traversed.
When traversing nested objects, their traversal strategy is used.

**type**: ``boolean`` **default**: ``false``

If this constraint is applied to a property that holds an array of objects,
then each object in that array will be validated recursively if this option
is set to ``true``.

.. include:: /reference/constraints/_payload-option.rst.inc

0 comments on commit e19f7a1

Please sign in to comment.