/
smoren
/
event-router-php
Обзор
Документация
Войти
/
smoren
/
event-router-php
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/Interfaces/EventInterface.php
45 строк
840 B
Smoren
phpdocs++
17 дек 2022, 16:05
17 дек 2022, 16:05
60701dd
Код
Авторство
О чём код?
<?php namespace Smoren\EventRouter\Interfaces; /** * Interface for event */ interface EventInterface { /** * Getter for "origin" property * @return string */ public function getOrigin(): string; /** * Getter for "name" property * @return string */ public function getName(): string; /** * Getter for "recipients" property * @return array<mixed> */ public function getRecipients(): array; /** * Getter for "data" property * @return array<mixed> */ public function getData(): array; /** * Getter for "link" property * @return EventLinkInterface */ public function getLink(): EventLinkInterface; /** * Array conversion method * @return array<string, mixed> */ public function toArray(): array; }