public getServices ( ) : array | ||
Результат | array | of strings |
public function getServices()
{
$xpath = $this->xPath();
$services = $xpath->query('/epp:epp/epp:greeting/epp:svcMenu/epp:objURI');
$svcs = [];
foreach ($services as $service) {
$svcs[] = $service->nodeValue;
}
return $svcs;
}