mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-03 09:57:51 +01:00
16 lines
313 B
PHP
16 lines
313 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Node\Scalar\MagicConst;
|
|
|
|
use PhpParser\Node\Scalar\MagicConst;
|
|
|
|
class Dir extends MagicConst
|
|
{
|
|
public function getName() : string {
|
|
return '__DIR__';
|
|
}
|
|
|
|
public function getType() : string {
|
|
return 'Scalar_MagicConst_Dir';
|
|
}
|
|
} |