public function findContentWithArticle() { $nodes = $this->xpath->query('//article'); if ($nodes !== false && $nodes->length > 0) { Logger::setMessage(get_called_class() . ': Find <article/> tag'); return $this->dom->saveXML($nodes->item(0)); } return ''; }