diff options
Diffstat (limited to 'vendor/symfony/form/Symfony/Component/Form/FormEvents.php')
-rw-r--r-- | vendor/symfony/form/Symfony/Component/Form/FormEvents.php | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/vendor/symfony/form/Symfony/Component/Form/FormEvents.php b/vendor/symfony/form/Symfony/Component/Form/FormEvents.php new file mode 100644 index 00000000..6c4efc5b --- /dev/null +++ b/vendor/symfony/form/Symfony/Component/Form/FormEvents.php | |||
@@ -0,0 +1,49 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | * This file is part of the Symfony package. | ||
4 | * | ||
5 | * (c) Fabien Potencier <fabien@symfony.com> | ||
6 | * | ||
7 | * For the full copyright and license information, please view the LICENSE | ||
8 | * file that was distributed with this source code. | ||
9 | */ | ||
10 | |||
11 | namespace Symfony\Component\Form; | ||
12 | |||
13 | /** | ||
14 | * @author Bernhard Schussek <bschussek@gmail.com> | ||
15 | */ | ||
16 | final class FormEvents | ||
17 | { | ||
18 | const PRE_SUBMIT = 'form.pre_bind'; | ||
19 | |||
20 | const SUBMIT = 'form.bind'; | ||
21 | |||
22 | const POST_SUBMIT = 'form.post_bind'; | ||
23 | |||
24 | const PRE_SET_DATA = 'form.pre_set_data'; | ||
25 | |||
26 | const POST_SET_DATA = 'form.post_set_data'; | ||
27 | |||
28 | /** | ||
29 | * @deprecated Deprecated since version 2.3, to be removed in 3.0. Use | ||
30 | * {@link PRE_SUBMIT} instead. | ||
31 | */ | ||
32 | const PRE_BIND = 'form.pre_bind'; | ||
33 | |||
34 | /** | ||
35 | * @deprecated Deprecated since version 2.3, to be removed in 3.0. Use | ||
36 | * {@link SUBMIT} instead. | ||
37 | */ | ||
38 | const BIND = 'form.bind'; | ||
39 | |||
40 | /** | ||
41 | * @deprecated Deprecated since version 2.3, to be removed in 3.0. Use | ||
42 | * {@link POST_SUBMIT} instead. | ||
43 | */ | ||
44 | const POST_BIND = 'form.post_bind'; | ||
45 | |||
46 | private function __construct() | ||
47 | { | ||
48 | } | ||
49 | } | ||