for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Victoire\Bundle\CoreBundle\Event;
use Symfony\Component\EventDispatcher\Event;
use Victoire\Bundle\WidgetBundle\Entity\Widget;
class WidgetFlushedEvent extends Event
{
private $widget;
/**
* Constructor.
*
* @param Widget $widget
*/
public function __construct(Widget $widget)
$this->widget = $widget;
}
* Get the widget.
* @return Widget
public function getWidget()
return $this->widget;