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/nikic/php-parser/lib/PhpParser/Comment.php \PhpParser\Comment::getText()

Returns the comment text

Return value

string

1 call to Comment::getText()
Comment::getRawText in vendor/mck89/peast/lib/Peast/Syntax/Node/Comment.php
Returns the comment raw text

File

vendor/mck89/peast/lib/Peast/Syntax/Node/Comment.php, line 97

Class

Comment
A node that represents a comment.

Namespace

Peast\Syntax\Node

Code

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