public function prepend($nodes)
{
/** @var \DOMNode|Implementation $this */
if ($this->firstChild instanceof \DOMNode && ($nodes = MutationMacro::expand($this, $nodes))) {
$this->insertBefore($nodes, $this->firstChild);
} else {
$this->append($nodes);
}
}