for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace nstdio\svg\xml;
use DOMElement;
/**
* Class DOMElementWrapper
*
* @package nstdio\svg\xml
* @author Edgar Asatryan <[email protected]>
*/
class DOMElementWrapper extends DOMNode
{
* @var DOMElement
private $element;
* DOMElementWrapper constructor.
* @param DOMElement $element
public function __construct(DOMElement $element)
$this->element = $element;
}
* @inheritdoc
public function getElement()
return $this->element;
public function setNodeValue($value)
$this->element->nodeValue = $value;
public function getNodeValue()
return $this->element->nodeValue;