exceptionHandler = Kiri::getDi()->get($exceptionHandler); $this->responseEmitter = Kiri::getDi()->get(UdpEmitter::class); } /** * @param Server $server * @param string $data * @param array $clientInfo */ public function onPacket(Server $server, string $data, array $clientInfo): void { // TODO: Implement onPacket() method. } }