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