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

Breadcrumb

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

function ConstFetchNode::__toString

File

vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstFetchNode.php, line 25

Class

ConstFetchNode

Namespace

PHPStan\PhpDocParser\Ast\ConstExpr

Code

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