Skip to content

Commit b32f200

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: Rewriting the service container docs Minor reword Adding a tip for validation in forms without class Added a note about the .htaccess files included by Symfony apps
2 parents a840753 + 6d2b09a commit b32f200

File tree

4 files changed

+345
-306
lines changed

4 files changed

+345
-306
lines changed

form/without_class.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,9 @@ but here's a short example:
106106
.. code-block:: php
107107
108108
new NotBlank(array('groups' => array('create', 'update')));
109+
110+
.. tip::
111+
112+
If the form is not mapped to an object, every object in your array of
113+
submitted data is validated using the ``Symfony\Component\Validator\Constraints\Valid``
114+
constraint, unless you :doc:`disable validation </form/disabling_validation>`.

0 commit comments

Comments
 (0)