FormEvents.php 777 B

123456789101112131415161718192021222324252627282930
  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. namespace Symfony\Component\Form\Deprecated;
  11. @trigger_error('Constants PRE_BIND, BIND and POST_BIND in class Symfony\Component\Form\FormEvents are deprecated since Symfony 2.3 and will be removed in 3.0. Use PRE_SUBMIT, SUBMIT and POST_SUBMIT instead.', E_USER_DEPRECATED);
  12. /**
  13. * @deprecated since version 2.7, to be removed in 3.0.
  14. *
  15. * @internal
  16. */
  17. final class FormEvents
  18. {
  19. const PRE_BIND = 'form.pre_bind';
  20. const BIND = 'form.bind';
  21. const POST_BIND = 'form.post_bind';
  22. private function __construct()
  23. {
  24. }
  25. }