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

Breadcrumb

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

function DoctrineAnnotation::__toString

Overrides Node::__toString

File

vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/Doctrine/DoctrineAnnotation.php, line 29

Class

DoctrineAnnotation

Namespace

PHPStan\PhpDocParser\Ast\PhpDoc\Doctrine

Code

public function __toString() : string {
    $arguments = implode(', ', $this->arguments);
    return $this->name . '(' . $arguments . ')';
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal