<?php
declare(strict_types=1);
namespace PpPhp\Packages\Ui\Ppui\Foundation\Definitions;
final class EventDefinition extends AbstractDefinition
{
    public function payloadSchema(): array { return is_array($this->metadata['payloadSchema'] ?? null) ? $this->metadata['payloadSchema'] : []; }
}
