Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Validator; Chris@0: Chris@17: use Symfony\Component\Validator\Constraints\GroupSequence; Chris@17: Chris@0: /** Chris@0: * Defines the interface for a group sequence provider. Chris@0: */ Chris@0: interface GroupSequenceProviderInterface Chris@0: { Chris@0: /** Chris@0: * Returns which validation groups should be used for a certain state Chris@0: * of the object. Chris@0: * Chris@17: * @return string[]|GroupSequence An array of validation groups Chris@0: */ Chris@0: public function getGroupSequence(); Chris@0: }