| Total Complexity | 4 | 
| Total Lines | 34 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 10 | class RenderUiElementEvent extends Event | ||
| 11 | { | ||
| 12 | /** | ||
| 13 | * @var array | ||
| 14 | */ | ||
| 15 | protected $element; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @var UiElementInterface | ||
| 19 | */ | ||
| 20 | protected $uiElement; | ||
| 21 | |||
| 22 | public function __construct( | ||
| 23 | UiElementInterface $uiElement, | ||
| 24 | array $element | ||
| 25 |     ) { | ||
| 26 | $this->uiElement = $uiElement; | ||
| 27 | $this->element = $element; | ||
| 28 | } | ||
| 29 | |||
| 30 | public function getUiElement(): UiElementInterface | ||
| 31 |     { | ||
| 32 | return $this->uiElement; | ||
| 33 | } | ||
| 34 | |||
| 35 | |||
| 36 | public function getElement(): array | ||
| 37 |     { | ||
| 38 | return $this->element; | ||
| 39 | } | ||
| 40 | |||
| 41 | public function setElement(array $element): void | ||
| 44 | } | ||
| 45 | } | ||
| 46 |