$this->roleUri, 'essence' => $this->essence, 'changes' => $this->changes, ]; } /** * RoleChangedEvent constructor. * @param string $roleUri * @param string $essence * @param mixed null $changes */ public function __construct($roleUri, $essence, $changes = null) { parent::__construct($roleUri); $this->essence = $essence; $this->changes = $changes; } }