You are here

public function AbstractRenderer::setRootElement in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-feed/src/Writer/Extension/AbstractRenderer.php \Zend\Feed\Writer\Extension\AbstractRenderer::setRootElement()
  2. 8 vendor/zendframework/zend-feed/src/Writer/Renderer/AbstractRenderer.php \Zend\Feed\Writer\Renderer\AbstractRenderer::setRootElement()
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/AbstractRenderer.php \Zend\Feed\Writer\Extension\AbstractRenderer::setRootElement()

Set root element of document

Parameters

DOMElement $root:

Return value

AbstractRenderer

File

vendor/zendframework/zend-feed/src/Writer/Extension/AbstractRenderer.php, line 142

Class

AbstractRenderer

Namespace

Zend\Feed\Writer\Extension

Code

public function setRootElement(DOMElement $root) {
  $this->rootElement = $root;
  return $this;
}