[Validator] Renamed getValidationGroups to getGroupSequence
This commit is contained in:
parent
d84a2e4bdf
commit
815c769292
@ -72,7 +72,7 @@ class GraphWalker
|
||||
if ($metadata->hasGroupSequence()) {
|
||||
$groups = $metadata->getGroupSequence();
|
||||
} else {
|
||||
$groups = $object->getValidationGroups();
|
||||
$groups = $object->getGroupSequence();
|
||||
}
|
||||
|
||||
foreach ($groups as $group) {
|
||||
|
@ -22,5 +22,5 @@ interface GroupSequenceProviderInterface
|
||||
*
|
||||
* @return array An array of validation groups
|
||||
*/
|
||||
function getValidationGroups();
|
||||
function getGroupSequence();
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ class GroupSequenceProviderEntity implements GroupSequenceProviderInterface
|
||||
$this->groups = $groups;
|
||||
}
|
||||
|
||||
public function getValidationGroups()
|
||||
public function getGroupSequence()
|
||||
{
|
||||
return $this->groups;
|
||||
}
|
||||
|
Reference in New Issue
Block a user