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\Tests\Fixtures;
14 use Symfony\Component\Validator\Constraints as Assert;
15 use Symfony\Component\Validator\GroupSequenceProviderInterface;
18 * @Assert\GroupSequenceProvider
20 class GroupSequenceProviderEntity implements GroupSequenceProviderInterface
25 protected $sequence = array();
27 public function __construct($sequence)
29 $this->sequence = $sequence;
32 public function getGroupSequence()
34 return $this->sequence;