Backoffice/Event/SiteFormEvent.php
<?php
namespace OpenOrchestra\Backoffice\Event;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\Form\FormBuilderInterface;
/**
* Class SiteFormEvent
*/
class SiteFormEvent extends Event
{
protected $builder;
/**
* @param FormBuilderInterface $builder
*/
public function __construct(FormBuilderInterface $builder)
{
$this->builder = $builder;
}
/**
* @return FormBuilderInterface
*/
public function getBuilder()
{
return $this->builder;
}
}