public function Regex::getDefaultOption in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Constraints/Regex.php \Symfony\Component\Validator\Constraints\Regex::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/ Regex.php, line 32
Class
- Regex
- @Target({"PROPERTY", "METHOD", "ANNOTATION"})
Namespace
Symfony\Component\Validator\ConstraintsCode
public function getDefaultOption() {
return 'pattern';
}