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

Breadcrumb

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

function Identifier::__toString

Get identifier as string.

@psalm-return non-empty-string

Return value

string Identifier as string

File

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

Class

Identifier
Represents a non-namespaced name. Namespaced names are represented using Name nodes.

Namespace

PhpParser\Node

Code

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