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