src/Extractor/ContentExtractor.php
private function removeAttributes(\DOMNodeList $elems, $logMessage = null)
    {
        if (null !== $logMessage) {
            $this->logger->info($logMessage, ['length' => $elems->length]);
        }

        foreach ($elems as $el) {
            $owner = $el->ownerElement;
            $owner->removeAttributeNode($el);
        }
    }
private function removeAttributes(\DOMNodeList $elems, $logMessage = null)
    {
        if (null !== $logMessage) {
            $this->logger->info($logMessage, ['length' => $elems->length]);
        }

        foreach ($elems as $el) {
            $owner = $el->ownerElement;
            $owner->removeAttributeNode($el);
        }
    }
private function removeAttributes ( \ DOMNodeList $ elems , $ logMessage = null ) { if ( null !== $ logMessage ) { $ this -> logger -> info ( $ logMessage , [ 'length' => $ elems -> length ] ) ; } foreach ( $ elems as $ el ) { $ owner = $ el -> ownerElement ; $ owner -> removeAttributeNode ( $ el ) ; } }
Remove attribute from owners.

@param \DOMNodeList $elems
@param string       $logMessage
Remove attribute from owners .