getId()) { throw new ValidatorException('Checksum is required'); } $content = $this->createRequest($httpClient, 'GET', $this->ogDhcpApiUrl.'/ogdhcp/v1/subnets/'.$data->getId().'/hosts'); return new JsonResponse(data: $content, status: Response::HTTP_OK); } }