This commit is contained in:
2021-11-18 11:37:12 +08:00
parent adc63be3e4
commit 740dc7ebbd
17 changed files with 27 additions and 27 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Server\Contract;
use Swoole\Server;
interface OnDisconnectInterface
{
/**
* @param Server $server
* @param int $fd
*/
public function onDisconnect(Server $server, int $fd): void;
}