public function Regex::getRequiredOptions in Plug 7
Returns the name of the required options.
Override this method if you want to define required options.
@api
Return value
array
Overrides Constraint::getRequiredOptions
See also
__construct()
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ Regex.php, line 42
Class
- Regex
- @Target({"PROPERTY", "METHOD", "ANNOTATION"})
Namespace
Symfony\Component\Validator\ConstraintsCode
public function getRequiredOptions() {
return array(
'pattern',
);
}