ZM\Event\EventProvider
addEventListener
public function addEventListener(mixed $event, callable $callback, int $level): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| event |
mixed |
|
| callback |
callable |
|
| level |
int |
|
返回
getEventListeners
public function getEventListeners(string $event_name): array
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| event_name |
string |
|
返回
getListenersForEvent
public function getListenersForEvent(object $event): iterable
描述
作者很懒,什么也没有说
参数
返回
sortEvents
public function sortEvents(mixed $name): mixed
描述
作者很懒,什么也没有说
参数
返回
getInstance
public function getInstance(mixed $args): object
描述
作者很懒,什么也没有说
参数
返回