PreSubmitEvent.php 624 B

12345678910111213141516171819202122232425
  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\Event;
  11. use Symfony\Component\Form\FormEvent;
  12. /**
  13. * This event is dispatched at the beginning of the Form::submit() method.
  14. *
  15. * It can be used to:
  16. * - Change data from the request, before submitting the data to the form.
  17. * - Add or remove form fields, before submitting the data to the form.
  18. */
  19. final class PreSubmitEvent extends FormEvent
  20. {
  21. }