26 lines
625 B
PHP
26 lines
625 B
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 class PreSetDataEvent extends FormEvent
|
|
{
|
|
}
|