The location where an element occurs within a file.

  • psalm-immutable
public __construct(int $lineNumber, int $columnNumber = 0)

Initializes the location for an element using its line number in the file and optionally the column number.

public getColumnNumber() : int

Returns the column number (character position on a line) for this location object.

public getLineNumber() : int

Returns the line number that is covered by this location.

private $columnNumber
  • var int
private $lineNumber
  • var int
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only