private static function RecursiveValidator::testGroups in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Validator/RecursiveValidator.php \Symfony\Component\Validator\Validator\RecursiveValidator::testGroups()
1 call to RecursiveValidator::testGroups()
- RecursiveValidator::validate in vendor/
symfony/ validator/ Validator/ RecursiveValidator.php - Validates a value against a constraint or a list of constraints.
File
- vendor/
symfony/ validator/ Validator/ RecursiveValidator.php, line 184
Class
- RecursiveValidator
- Recursive implementation of {@link ValidatorInterface}.
Namespace
Symfony\Component\Validator\ValidatorCode
private static function testGroups($groups) {
return null === $groups || is_string($groups) || $groups instanceof GroupSequence || is_array($groups) && (0 === count($groups) || is_string(current($groups)) || current($groups) instanceof GroupSequence);
}