Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/validator/GroupSequenceProviderInterface.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
9 * file that was distributed with this source code. | 9 * file that was distributed with this source code. |
10 */ | 10 */ |
11 | 11 |
12 namespace Symfony\Component\Validator; | 12 namespace Symfony\Component\Validator; |
13 | 13 |
14 use Symfony\Component\Validator\Constraints\GroupSequence; | |
15 | |
14 /** | 16 /** |
15 * Defines the interface for a group sequence provider. | 17 * Defines the interface for a group sequence provider. |
16 */ | 18 */ |
17 interface GroupSequenceProviderInterface | 19 interface GroupSequenceProviderInterface |
18 { | 20 { |
19 /** | 21 /** |
20 * Returns which validation groups should be used for a certain state | 22 * Returns which validation groups should be used for a certain state |
21 * of the object. | 23 * of the object. |
22 * | 24 * |
23 * @return array An array of validation groups | 25 * @return string[]|GroupSequence An array of validation groups |
24 */ | 26 */ |
25 public function getGroupSequence(); | 27 public function getGroupSequence(); |
26 } | 28 } |