The getLastChild()
method retrieves the last child node of the target node.
Description
public AbstractNode::getLastChild(): ?NodeInterface
Parameters
None
Return Value
The last child node or null
if the target node has no children.
Exceptions
None