ElementNode::getChildren

The getChildren() method returns a collection of the child elements of the current element. It returns a ElementList object which contains ElementInterface items. This method allows easy access to all child elements, enabling efficient manipulation and traversal of the DOM structure.

Description

public ElementNode::getChildren(): ElementList

Parameters

None

Return Value

Returns an instance of ElementList , which contains the child elements of the current element.

Exceptions

None

Source Code
If you find this project useful, consider leaving a on GitHub! Thank you!