mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-15 10:57:11 +01:00
17 lines
321 B
PHP
17 lines
321 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Node\Scalar\MagicConst;
|
|
|
|
use PhpParser\Node\Scalar\MagicConst;
|
|
|
|
class Trait_ extends MagicConst
|
|
{
|
|
public function getName() : string {
|
|
return '__TRAIT__';
|
|
}
|
|
|
|
public function getType() : string {
|
|
return 'Scalar_MagicConst_Trait';
|
|
}
|
|
}
|