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

Breadcrumb

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

function Comment::__toString

Gets the comment text.

Return value

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

File

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

Class

Comment

Namespace

PhpParser

Code

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