From 14a7e10ef89b07c5b3758be77014291c7ae32da5 Mon Sep 17 00:00:00 2001 From: Adam Jimenez Date: Wed, 25 Sep 2024 10:58:11 +0100 Subject: [PATCH] group handler --- src/whois.group.php | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/whois.group.php diff --git a/src/whois.group.php b/src/whois.group.php new file mode 100644 index 00000000..7c9e8118 --- /dev/null +++ b/src/whois.group.php @@ -0,0 +1,47 @@ + generic_parser_b($data_str['rawdata']), + 'rawdata' => $data_str['rawdata'], + ]; + + if (!isset($r['regrinfo']['domain']['name'])) { + $r['regrinfo']['domain']['name'] = $query; + } + + return $r; + } +}