Symfony\Component\Validator\ExecutionContext::resolveGroups
Returns an array of group names.
Signature
private function resolveGroups(array
$groups )
Parameters
$groups
— array- The groups to resolve. If a single string is
passed, it is converted to an array. If null
is passed, an array containing the current
group of the context is returned.
Returns
- array
- An array of validation groups.