4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Validator;
15 * Defines the interface for a group sequence provider.
17 interface GroupSequenceProviderInterface
20 * Returns which validation groups should be used for a certain state
23 * @return array An array of validation groups
25 public function getGroupSequence();