forked from fabpot/symfony-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[validation] Increasing visibility of constraints on the validation c…
…hapter
- Loading branch information
1 parent
13a8fdd
commit 70cd54b
Showing
3 changed files
with
66 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
Basic Constraints | ||
~~~~~~~~~~~~~~~~~ | ||
|
||
These are the basic constraints: use them to assert very basic things about | ||
the value of properties or the return value of methods on your object. | ||
|
||
* :doc:`NotBlank </reference/constraints/NotBlank>` | ||
* :doc:`Blank </reference/constraints/Blank>` | ||
* :doc:`NotNull </reference/constraints/NotNull>` | ||
* :doc:`Null </reference/constraints/Null>` | ||
* :doc:`True </reference/constraints/True>` | ||
* :doc:`False </reference/constraints/False>` | ||
* :doc:`Type </reference/constraints/Type>` | ||
|
||
String Constraints | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
* :doc:`Email </reference/constraints/Email>` | ||
* :doc:`MinLength </reference/constraints/MinLength>` | ||
* :doc:`MaxLength </reference/constraints/MaxLength>` | ||
* :doc:`Url </reference/constraints/Url>` | ||
* :doc:`Regex </reference/constraints/Regex>` | ||
* :doc:`Ip </reference/constraints/Ip>` | ||
|
||
Number Constraints | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
* :doc:`Max </reference/constraints/Max>` | ||
* :doc:`Min </reference/constraints/Min>` | ||
|
||
Date Constraints | ||
~~~~~~~~~~~~~~~~ | ||
|
||
* :doc:`Date </reference/constraints/Date>` | ||
* :doc:`DateTime </reference/constraints/DateTime>` | ||
* :doc:`Time </reference/constraints/Time>` | ||
|
||
Collection Constraints | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
* :doc:`Choice </reference/constraints/Choice>` | ||
* :doc:`Collection </reference/constraints/Collection>` | ||
* :doc:`UniqueEntity </reference/constraints/UniqueEntity>` | ||
* :doc:`Language </reference/constraints/Language>` | ||
* :doc:`Locale </reference/constraints/Locale>` | ||
* :doc:`Country </reference/constraints/Country>` | ||
|
||
File Constraints | ||
~~~~~~~~~~~~~~~~ | ||
|
||
* :doc:`File </reference/constraints/File>` | ||
* :doc:`Image </reference/constraints/Image>` | ||
|
||
Other Constraints | ||
~~~~~~~~~~~~~~~~~ | ||
|
||
* :doc:`Callback </reference/constraints/Callback>` | ||
* :doc:`All </reference/constraints/All>` | ||
* :doc:`Valid </reference/constraints/Valid>` |