1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-16 03:16:54 +01:00
PHP-Parser/lib/PhpParser/Node/Scalar/MagicConst/File.php

16 lines
316 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 File extends MagicConst
{
2017-04-28 21:40:59 +02:00
public function getName() : string {
return '__FILE__';
}
public function getType() : string {
return 'Scalar_MagicConst_File';
}
}