/** * Push a tag close to the current tag and have it return the new * value for the current tag. * * @param string $tagName */ public function pushTagClose($tagName) { $this->_currentTag = $this->_currentTag->closeTag($tagName); if (!$this->_currentTag) { $this->_currentTag = $this->_rootTag; } }