mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-07 16:55:35 +08:00
add @OnCloseEvent, @OnOpenEvent, @OnMessageEvent, @OnRequestEvent update EventDispatcher.php and change it to status-based schema fix @CQBefore bugs
21 lines
318 B
PHP
21 lines
318 B
PHP
<?php
|
|
|
|
|
|
namespace ZM\Annotation\Swoole;
|
|
|
|
|
|
use Doctrine\Common\Annotations\Annotation\Target;
|
|
|
|
/**
|
|
* @Annotation
|
|
* @Target("METHOD")
|
|
* Class OnMessageEvent
|
|
* @package ZM\Annotation\Swoole
|
|
*/
|
|
class OnMessageEvent extends OnSwooleEventBase
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $connect_type = "default";
|
|
} |