public function Constraint::getDefaultOption in Plug 7
Returns the name of the default option.
Override this method to define a default option.
@api
Return value
string
See also
__construct()
1 call to Constraint::getDefaultOption()
- Constraint::__construct in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraint.php - Initializes the constraint with options.
15 methods override Constraint::getDefaultOption()
- AbstractComparison::getDefaultOption in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ AbstractComparison.php - Returns the name of the default option.
- All::getDefaultOption in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ All.php - Returns the name of the default option.
- Callback::getDefaultOption in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ Callback.php - Returns the name of the default option.
- CardScheme::getDefaultOption in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ CardScheme.php - Returns the name of the default option.
- Choice::getDefaultOption in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ Choice.php - Returns the name of the default option.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraint.php, line 251
Class
- Constraint
- Contains the properties of a constraint definition.
Namespace
Symfony\Component\ValidatorCode
public function getDefaultOption() {
}