DOMNode::insertBefore

Description

public function insertBefore<T as DOMNode>(
  T $newnode,
  ?DOMNode $refnode = null,
): T;

Parameters

  • T $newnode
  • ?DOMNode $refnode = null