html; } /** * @param $html * @return $this */ public function setHtml($html) { $this->html = $html; $this->document = phpQuery::newDocumentHTML($this->html); return $this; } public function find($selector) { return (new Dom($this->document))->find($selector); } }