DOMNode::getLineNo

Gets line number for where the node is defined

public function getLineNo(): int;

Returns

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