public function Collection::getRequiredOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Constraints/Collection.php \Symfony\Component\Validator\Constraints\Collection::getRequiredOptions()
Returns the name of the required options.
Override this method if you want to define required options.
Return value
array
Overrides Constraint::getRequiredOptions
See also
__construct()
File
- vendor/
symfony/ validator/ Constraints/ Collection.php, line 76
Class
- Collection
- @Target({"PROPERTY", "METHOD", "ANNOTATION"})
Namespace
Symfony\Component\Validator\ConstraintsCode
public function getRequiredOptions() {
return array(
'fields',
);
}