for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MonsieurBiz\SyliusRichEditorPlugin\Event;
use MonsieurBiz\SyliusRichEditorPlugin\UiElement\UiElementInterface;
use Symfony\Contracts\EventDispatcher\Event;
class RenderUiElementEvent extends Event
{
/**
* @var array
*/
protected $element;
* @var UiElementInterface
protected $uiElement;
public function __construct(
UiElementInterface $uiElement,
array $element
) {
$this->uiElement = $uiElement;
$this->element = $element;
}
public function getUiElement(): UiElementInterface
return $this->uiElement;
public function getElement(): array
return $this->element;
public function setElement(array $element): void