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