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

Breadcrumb

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

function Comment::getText

Same name in this branch
  1. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Node/Comment.php \Peast\Syntax\Node\Comment::getText()

Gets the comment text.

Return value

string The comment text (including comment delimiters like /*)

File

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

Class

Comment

Namespace

PhpParser

Code

public function getText() : string {
    return $this->text;
}
RSS feed
Powered by Drupal