src/Extractor/ContentExtractor.php
private function extractTitle($detectTitle, $cssClass, \DOMNode $node, $logMessage)
    {
        return $this->extractEntityFromQuery(
            'title',
            $detectTitle,
            ".//*[contains(concat(' ',normalize-space(@class),' '),' " . $cssClass . " ')]",
            $node,
            $logMessage
        );
    }
private function extractTitle($detectTitle, $cssClass, \DOMNode $node, $logMessage)
    {
        return $this->extractEntityFromQuery(
            'title',
            $detectTitle,
            ".//*[contains(concat(' ',normalize-space(@class),' '),' " . $cssClass . " ')]",
            $node,
            $logMessage
        );
    }
private function extractTitle ( $ detectTitle , $ cssClass , \ DOMNode $ node , $ logMessage ) { return $ this -> extractEntityFromQuery ( 'title' , $ detectTitle , ".//*[contains(concat(' ',normalize-space(@class),' '),' " . $ cssClass . " ')]" , $ node , $ logMessage ) ; }
Extract title for a given CSS class a node.

@param bool     $detectTitle Do we have to detect title ?
@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 title again or not
Extract title for a given CSS class a node .