TaoLer/app/event.php

23 lines
476 B
PHP
Raw Normal View History

2020-01-01 13:17:19 +08:00
<?php
// 事件定义文件
return [
'bind' => [
2020-11-29 17:27:47 +08:00
'UserLogin' => 'app\event\UserLogin',
'Message' => 'app\event\Message',
2020-01-01 13:17:19 +08:00
],
'listen' => [
'AppInit' => [],
'HttpRun' => [],
'HttpEnd' => [],
'LogLevel' => [],
'LogWrite' => [],
2020-11-29 17:27:47 +08:00
'UserLogin' => ['app\listener\UserLogin'],
2020-10-19 17:23:55 +08:00
'Message' => ['app\listener\Message'],
'CommMsg' => ['app\listener\CommMsg'],
2020-01-01 13:17:19 +08:00
],
'subscribe' => [
],
];