Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / GroupSequenceProviderInterface.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Validator;
13
14 use Symfony\Component\Validator\Constraints\GroupSequence;
15
16 /**
17  * Defines the interface for a group sequence provider.
18  */
19 interface GroupSequenceProviderInterface
20 {
21     /**
22      * Returns which validation groups should be used for a certain state
23      * of the object.
24      *
25      * @return string[]|GroupSequence An array of validation groups
26      */
27     public function getGroupSequence();
28 }