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

Breadcrumb

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

function Class_::isAnonymous

Whether the class is anonymous.

File

vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php, line 87

Class

Class_

Namespace

PhpParser\Node\Stmt

Code

public function isAnonymous() : bool {
    return null === $this->name;
}

API Navigation

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