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

Breadcrumb

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

function Node::getLine

Gets line the node started in (alias of getStartLine).

@phpstan-return -1|positive-int

Return value

int Start line (or -1 if not available)

Deprecated

Use getStartLine() instead

1 method overrides Node::getLine()
NodeAbstract::getLine in vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php
Gets line the node started in (alias of getStartLine).

File

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

Class

Node

Namespace

PhpParser

Code

public function getLine() : int;

API Navigation

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