public function Choice::getDefaultOption in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Constraints/Choice.php \Symfony\Component\Validator\Constraints\Choice::getDefaultOption()
Returns the name of the default option.
Override this method to define a default option.
Return value
string
Overrides Constraint::getDefaultOption
See also
__construct()
File
- vendor/
symfony/ validator/ Constraints/ Choice.php, line 48
Class
- Choice
- @Target({"PROPERTY", "METHOD", "ANNOTATION"})
Namespace
Symfony\Component\Validator\ConstraintsCode
public function getDefaultOption() {
return 'choices';
}