<?php
Swoole\Server->on('managerstop', callback $callback)
The event name
callback function
if success, it returns TRUE, otherwise it returns FALSE.
Executue the callback function when Manager Process in the Server is stopping.
The callback function registered for event managerstart
is executed in the manager process.
<?php
function (Swoole\Server $server) {
}