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