Helper function to create a DOM fragment with given markup.
public static createDomFragment ( DOMDocument $dom, string $markup ) : DOMNode | ||
$dom | DOMDocument | |
$markup | string | |
Результат | DOMNode | fragment in a node. |
public static createDomFragment ( DOMDocument $dom, string $markup ) : DOMNode | ||
$dom | DOMDocument | |
$markup | string | |
Результат | DOMNode | fragment in a node. |