WokerTask/app/event.php

23 lines
361 B
PHP
Raw Normal View History

2023-12-27 14:06:33 +08:00
<?php
// 事件定义文件
use app\common\listener\NoticeListener;
return [
'bind' => [
],
'listen' => [
'AppInit' => [],
'HttpRun' => [],
'HttpEnd' => [],
'LogLevel' => [],
'LogWrite' => [],
// 通知
'Notice' => [NoticeListener::class],
],
'subscribe' => [
],
];