Metaregistrar\EPP\eppResponse::queryPath PHP Метод

queryPath() защищенный Метод

Make an xpath query and return the results if applicable
protected queryPath ( string $path ) : null | string
$path string
Результат null | string
    protected function queryPath($path)
    {
        $xpath = $this->xPath();
        $result = $xpath->query($path);
        if (is_object($result) && $result->length > 0) {
            return trim($result->item(0)->nodeValue);
        } else {
            return null;
        }
    }