PicoFeed\Scraper\CandidateParser::findContentWithBody PHP Метод

findContentWithBody() публичный Метод

Find tag.
public findContentWithBody ( ) : string
Результат string
    public function findContentWithBody()
    {
        $nodes = $this->xpath->query('//body');
        if ($nodes !== false && $nodes->length > 0) {
            Logger::setMessage(get_called_class() . ' Find <body/>');
            return $this->dom->saveXML($nodes->item(0));
        }
        return '';
    }