Files
kiri-core/HttpServer/Events/OnWorkerStop.php
T
2020-09-04 01:05:33 +08:00

24 lines
301 B
PHP

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