Goose\Crawler::getDocument PHP Method

getDocument() private method

private getDocument ( string $rawHTML ) : DOMWrap\Document
$rawHTML string
return DOMWrap\Document
    private function getDocument($rawHTML)
    {
        $doc = new Document();
        $doc->html($rawHTML);
        return $doc;
    }