This commit is contained in:
2020-09-02 11:38:47 +08:00
parent 3e46f5790f
commit 8397c2ac8a
46 changed files with 1021 additions and 824 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace HttpServer\Events;
use HttpServer\Events\Abstracts\Callback;
class OnWorkerError extends Callback
{
/**
* @param $server
* @param $worker_id
* @throws \Exception
*/
public function onHandler($server, $worker_id)
{
$this->clear($server, $worker_id, self::EVENT_ERROR);
}
}