for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* (c) FSi sp. z o.o. <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace FSi\Bundle\AdminBundle\Event;
use FSi\Bundle\AdminBundle\Admin\Element;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\HttpFoundation\Request;
class FormEvent extends AdminEvent
{
* @var FormInterface
protected $form;
public function __construct(Element $element, Request $request, FormInterface $form)
parent::__construct($element, $request);
$this->form = $form;
}
public function getForm(): FormInterface
return $this->form;