ElementNode::getCloseTag

The getCloseTag() method returns the closing tag of the current element.

If the element is void (i.e., self-closing), this method will return null

Description

public ElementNode::getCloseTag(): ?string

Parameters

None

Return Value

Returns a string representing the closing tag of the element, or null if the element is void and does not have a closing tag.

Exceptions

None

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