1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-15 10:57:11 +01:00
PHP-Parser/lib/PhpParser/Node/Scalar/MagicConst/Dir.php

17 lines
314 B
PHP
Raw Normal View History

2017-08-18 22:57:27 +02:00
<?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Dir extends MagicConst
{
2017-04-28 21:40:59 +02:00
public function getName() : string {
return '__DIR__';
}
public function getType() : string {
return 'Scalar_MagicConst_Dir';
}
2018-01-10 18:04:06 +01:00
}