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 FSi\Bundle\AdminBundle\Display\Display;
use Symfony\Component\HttpFoundation\Request;
class DisplayEvent extends AdminEvent
{
* @var Display
private $display;
* @var mixed
private $data;
public function __construct(Element $element, Request $request, Display $display, $data)
parent::__construct($element, $request);
$this->display = $display;
$this->data = $data;
}
public function getDisplay(): Display
return $this->display;
* @return mixed
public function getData()
return $this->data;