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;
14 use Symfony\Component\Validator\Constraints\GroupSequence;
17 * Defines the interface for a group sequence provider.
19 interface GroupSequenceProviderInterface
22 * Returns which validation groups should be used for a certain state
25 * @return string[]|GroupSequence An array of validation groups
27 public function getGroupSequence();