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