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

Breadcrumb

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

function Node::getEndLine

Gets the line the node ended in.

Requires the 'endLine' attribute to be enabled in the lexer (enabled by default).

@phpstan-return -1|positive-int

Return value

int End line (or -1 if not available)

1 method overrides Node::getEndLine()
NodeAbstract::getEndLine in vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php
Gets the line the node ended in.

File

vendor/nikic/php-parser/lib/PhpParser/Node.php, line 49

Class

Node

Namespace

PhpParser

Code

public function getEndLine() : int;
RSS feed
Powered by Drupal