The getNextSibling()
method retrieves the node immediately following the target node in its parent's child list.
Description
public AbstractNode::getNextSibling(): ?NodeInterface
Parameters
None
Return Value
The node representing the next sibling of the target node, or null
if the target node is the last child of it's parent.
Exceptions
None