create() ), new ResponseInterpreter( (new DecoderFactory)->create() ), $cache, $serverAddr, $serverPort, $requestTimeout ); $hostsFile = new HostsFile($nameValidator, $hostsFilePath); return new Resolver($reactor, $nameValidator, $client, $hostsFile); } }