public function GroupSequence::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Constraints/GroupSequence.php \Symfony\Component\Validator\Constraints\GroupSequence::__construct()
Creates a new group sequence.
Parameters
string[] $groups The groups in the sequence:
File
- vendor/
symfony/ validator/ Constraints/ GroupSequence.php, line 89
Class
- GroupSequence
- A sequence of validation groups.
Namespace
Symfony\Component\Validator\ConstraintsCode
public function __construct(array $groups) {
// Support for Doctrine annotations
$this->groups = isset($groups['value']) ? $groups['value'] : $groups;
}