Files
kiri-http-server/Events/OnShutdown.php
T

21 lines
333 B
PHP
Raw Permalink Normal View History

2022-01-09 03:49:02 +08:00
<?php
2022-01-10 11:39:55 +08:00
namespace Kiri\Server\Events;
2022-01-09 03:49:02 +08:00
2022-06-20 17:25:01 +08:00
use Swoole\Coroutine\Http\Server as CHServer;
use Swoole\Coroutine\Server as CServer;
2022-01-09 03:49:02 +08:00
use Swoole\Server;
class OnShutdown
{
/**
2022-06-20 17:25:01 +08:00
* @param Server|CHServer|CServer|null $server
2022-01-09 03:49:02 +08:00
*/
2022-06-20 17:25:01 +08:00
public function __construct(public Server|null|CHServer|CServer $server = null)
2022-01-09 03:49:02 +08:00
{
}
}