Php/docs/swoole-server.shutdown
From Get docs
Swoole\Server::shutdown
(PECL swoole >= 1.9.0)
Swoole\Server::shutdown — Shutdown the master server process, this function can be called in worker processes.
Description
public Swoole\Server::shutdown ( ) : void
Parameters
This function has no parameters.