Current File : //var/www/prestashop/vendor/symfony/symfony/src/Symfony/Component/Form/Event/PreSetDataEvent.php |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Form\Event;
use Symfony\Component\Form\FormEvent;
/**
* This event is dispatched at the beginning of the Form::setData() method.
*
* It can be used to:
* - Modify the data given during pre-population;
* - Modify a form depending on the pre-populated data (adding or removing fields dynamically).
*
* @final since Symfony 4.4
*/
class PreSetDataEvent extends FormEvent
{
}