10000 Clarified Default and ClassName groups by wouterj · Pull Request #3593 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Clarified Default and ClassName groups #3593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 8, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Updated after review of @webmozart
  • Loading branch information
wouterj committed Feb 20, 2014
commit b6357fa68fd84959b9a4cf368b1f5b91697a7385
7 changes: 4 additions & 3 deletions book/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,10 +809,11 @@ user registers and when a user updates their contact information later:

With this configuration, there are three validation groups:

* ``User`` - contains the constraints that belong to no other group;
* ``Default`` - contains the constraints in the current class and all
referenced classes that belong to no other group;

* ``Default`` - equivalent to the ``User`` group (This group is useful for
:ref:`book-validation-group-sequence`);
* ``User`` - equivalent to all constraints of the ``User`` object in the
``Default`` group;

* ``registration`` - contains the constraints on the ``email`` and ``password``
fields only.
Expand Down
0