Trait_.php 315 B

123456789101112131415
  1. <?php declare(strict_types=1);
  2. namespace PhpParser\Node\Scalar\MagicConst;
  3. use PhpParser\Node\Scalar\MagicConst;
  4. class Trait_ extends MagicConst {
  5. public function getName(): string {
  6. return '__TRAIT__';
  7. }
  8. public function getType(): string {
  9. return 'Scalar_MagicConst_Trait';
  10. }
  11. }