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

Breadcrumb

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

function Comment::getStartLine

Gets the line number the comment started on.

@phpstan-return -1|positive-int

Return value

int Line number (or -1 if not available)

File

vendor/nikic/php-parser/lib/PhpParser/Comment.php, line 51

Class

Comment

Namespace

PhpParser

Code

public function getStartLine() : int {
    return $this->startLine;
}
RSS feed
Powered by Drupal