public function wrapPHP($codeBefore, $codeAfter) { foreach ($this->stack() as $node) { phpQuery::pq($node, $this->getDocumentID())->wrapAllPHP($codeBefore, $codeAfter); } return $this; }