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