Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Location.php

function Location::__construct

Same name in this branch
  1. 11.1.x vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php \Google\Protobuf\Internal\SourceCodeInfo\Location::__construct()

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

File

vendor/phpdocumentor/reflection-common/src/Location.php, line 32

Class

Location
The location where an element occurs within a file.

Namespace

phpDocumentor\Reflection

Code

public function __construct(int $lineNumber, int $columnNumber = 0) {
    $this->lineNumber = $lineNumber;
    $this->columnNumber = $columnNumber;
}
RSS feed
Powered by Drupal