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

Breadcrumb

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

function Error::getEndLine

Gets the line the error ends in.

@phpstan-return -1|positive-int

Return value

int Error end line

1 call to Error::getEndLine()
Error::getMessageWithColumnInfo in vendor/nikic/php-parser/lib/PhpParser/Error.php
Formats message including line and column information.

File

vendor/nikic/php-parser/lib/PhpParser/Error.php, line 47

Class

Error

Namespace

PhpParser

Code

public function getEndLine() : int {
    return $this->attributes['endLine'] ?? -1;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal