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

Breadcrumb

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

function Name::isSpecialClassName

Checks whether the identifier is a special class name (self, parent or static).

Return value

bool Whether identifier is a special class name

File

vendor/nikic/php-parser/lib/PhpParser/Node/Name.php, line 144

Class

Name

Namespace

PhpParser\Node

Code

public function isSpecialClassName() : bool {
    return isset(self::$specialClassNames[strtolower($this->name)]);
}
RSS feed
Powered by Drupal