Files
kiri-core/http-server/Events/OnWorkerExit.php
T
2020-09-02 11:38:47 +08:00

23 lines
307 B
PHP

<?php
namespace HttpServer\Events;
use HttpServer\Events\Abstracts\Callback;
class OnWorkerExit extends Callback
{
/**
* @param $server
* @param $worker_id
* @throws \Exception
*/
public function onHandler($server, $worker_id)
{
$this->clear($server, $worker_id, self::EVENT_EXIT);
}
}