DOMNode::getLineNo

Gets line number for where the node is defined

public function getLineNo(): int;

Return Values

  • int - - Always returns the line number where the node was defined in.