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

Breadcrumb

  1. Drupal Core 11.1.x

VarLikeIdentifier.php

Namespace

PhpParser\Node

File

vendor/nikic/php-parser/lib/PhpParser/Node/VarLikeIdentifier.php

View source
<?php

declare (strict_types=1);
namespace PhpParser\Node;


/**
 * Represents a name that is written in source code with a leading dollar,
 * but is not a proper variable. The leading dollar is not stored as part of the name.
 *
 * Examples: Names in property declarations are formatted as variables. Names in static property
 * lookups are also formatted as variables.
 */
class VarLikeIdentifier extends Identifier {
    public function getType() : string {
        return 'VarLikeIdentifier';
    }

}

Classes

Title Deprecated Summary
VarLikeIdentifier Represents a name that is written in source code with a leading dollar, but is not a proper variable. The leading dollar is not stored as part of the name.

API Navigation

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