public function RecursiveDOMIterator::__construct in Translation Management Tool 8
Constructor.
Parameters
DOMNode $domNode: DOMNode to iterate over.
File
- translators/
tmgmt_file/ src/ RecursiveDOMIterator.php, line 29
Class
- RecursiveDOMIterator
- Class used to iterate through DOMDocument.
Namespace
Drupal\tmgmt_fileCode
public function __construct(\DOMNode $domNode) {
$this->position = 0;
$this->nodeList = $domNode->childNodes;
}