public function wrap($content) { $result = $this->spawn($this->wrapNodes($this->_nodes, $content)); return $result; }