This also sets the parent of the given child to this node
[element:a]
(0)[element:b]
(1)[element:c]
[element:a]->prepend([element:d])
[element:a]
(0)[element:d]
(1)[element:b]
(2)[element:c]
public prepend ( |
||
$node | the new child node to be prepended |