1 | <?php |
||
2 | |||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
3 | namespace Hhxsv5\LaravelS\Swoole\Socket; |
||
4 | |||
5 | use Swoole\Server; |
||
6 | |||
7 | interface TcpInterface |
||
0 ignored issues
–
show
|
|||
8 | { |
||
9 | public function onConnect(Server $server, $fd, $reactorId); |
||
0 ignored issues
–
show
|
|||
10 | |||
11 | public function onClose(Server $server, $fd, $reactorId); |
||
0 ignored issues
–
show
|
|||
12 | |||
13 | public function onReceive(Server $server, $fd, $reactorId, $data); |
||
0 ignored issues
–
show
|
|||
14 | |||
15 | public function onBufferFull(Server $server, $fd); |
||
0 ignored issues
–
show
|
|||
16 | |||
17 | public function onBufferEmpty(Server $server, $fd); |
||
0 ignored issues
–
show
|
|||
18 | } |