Goose\Modules\Extractors\MetaExtractor::getNodesByLowercasePropertyValue PHP Method

getNodesByLowercasePropertyValue() private method

private getNodesByLowercasePropertyValue ( DOMWrap\Document $doc, string $tag, string $property, string $value ) : DOMWrap\NodeList
$doc DOMWrap\Document
$tag string
$property string
$value string
return DOMWrap\NodeList
    private function getNodesByLowercasePropertyValue(Document $doc, $tag, $property, $value)
    {
        return $doc->findXPath("descendant::" . $tag . "[translate(@" . $property . ", 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')='" . $value . "']");
    }