diff options
Diffstat (limited to 'vendor/symfony/form/Symfony/Component/Form/Extension/Validator/Constraints/Form.php')
-rw-r--r-- | vendor/symfony/form/Symfony/Component/Form/Extension/Validator/Constraints/Form.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/vendor/symfony/form/Symfony/Component/Form/Extension/Validator/Constraints/Form.php b/vendor/symfony/form/Symfony/Component/Form/Extension/Validator/Constraints/Form.php new file mode 100644 index 00000000..87e33297 --- /dev/null +++ b/vendor/symfony/form/Symfony/Component/Form/Extension/Validator/Constraints/Form.php | |||
@@ -0,0 +1,33 @@ | |||
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\Form\Extension\Validator\Constraints; | ||
13 | |||
14 | use Symfony\Component\Validator\Constraint; | ||
15 | |||
16 | /** | ||
17 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
18 | */ | ||
19 | class Form extends Constraint | ||
20 | { | ||
21 | /** | ||
22 | * Violation code marking an invalid form. | ||
23 | */ | ||
24 | const ERR_INVALID = 1; | ||
25 | |||
26 | /** | ||
27 | * {@inheritdoc} | ||
28 | */ | ||
29 | public function getTargets() | ||
30 | { | ||
31 | return self::CLASS_CONSTRAINT; | ||
32 | } | ||
33 | } | ||