8c9de79027
This reverts commit fdf58326
19 lines
183 B
PHP
19 lines
183 B
PHP
<?php
|
|
|
|
namespace Server\Contract;
|
|
|
|
use Swoole\Server;
|
|
|
|
interface OnDisconnectInterface
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
* @param int $fd
|
|
*/
|
|
public function onDisconnect(int $fd): void;
|
|
|
|
|
|
}
|