[Validator] Renamed getValidationGroups to getGroupSequence

This commit is contained in:
Sebastian Hörl 2012-02-02 20:27:06 +01:00
parent d84a2e4bdf
commit 815c769292
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ class GraphWalker
if ($metadata->hasGroupSequence()) { if ($metadata->hasGroupSequence()) {
$groups = $metadata->getGroupSequence(); $groups = $metadata->getGroupSequence();
} else { } else {
$groups = $object->getValidationGroups(); $groups = $object->getGroupSequence();
} }
foreach ($groups as $group) { foreach ($groups as $group) {

View File

@ -22,5 +22,5 @@ interface GroupSequenceProviderInterface
* *
* @return array An array of validation groups * @return array An array of validation groups
*/ */
function getValidationGroups(); function getGroupSequence();
} }

View File

@ -20,7 +20,7 @@ class GroupSequenceProviderEntity implements GroupSequenceProviderInterface
$this->groups = $groups; $this->groups = $groups;
} }
public function getValidationGroups() public function getGroupSequence()
{ {
return $this->groups; return $this->groups;
} }