src/Extractor/ContentExtractor.php
private function extractDate($detectDate, $cssClass, \DOMNode $node, $logMessage)
    {
        return $this->extractEntityFromQuery(
            'date',
            $detectDate,
            ".//time[@pubdate or @pubDate] | .//abbr[contains(concat(' ',normalize-space(@class),' '),' " . $cssClass . " ')]",
            $node,
            $logMessage
        );
    }
private function extractDate($detectDate, $cssClass, \DOMNode $node, $logMessage)
    {
        return $this->extractEntityFromQuery(
            'date',
            $detectDate,
            ".//time[@pubdate or @pubDate] | .//abbr[contains(concat(' ',normalize-space(@class),' '),' " . $cssClass . " ')]",
            $node,
            $logMessage
        );
    }
private function extractDate ( $ detectDate , $ cssClass , \ DOMNode $ node , $ logMessage ) { return $ this -> extractEntityFromQuery ( 'date' , $ detectDate , ".//time[@pubdate or @pubDate] | .//abbr[contains(concat(' ',normalize-space(@class),' '),' " . $ cssClass . " ')]" , $ node , $ logMessage ) ; }
Extract date for a given CSS class a node.

@param bool     $detectDate Do we have to detect date ?
@param string   $cssClass   CSS class to look for
@param \DOMNode $node       DOMNode to look into
@param string   $logMessage

@return bool Telling if we have to detect date again or not
Extract date for a given CSS class a node .