暫無描述

VarLikeIdentifier.php 503B

123456789101112131415161718
  1. <?php declare(strict_types=1);
  2. namespace PhpParser\Node;
  3. /**
  4. * Represents a name that is written in source code with a leading dollar,
  5. * but is not a proper variable. The leading dollar is not stored as part of the name.
  6. *
  7. * Examples: Names in property declarations are formatted as variables. Names in static property
  8. * lookups are also formatted as variables.
  9. */
  10. class VarLikeIdentifier extends Identifier
  11. {
  12. public function getType() : string {
  13. return 'VarLikeIdentifier';
  14. }
  15. }