File.php 317 B

12345678910111213141516
  1. <?php declare(strict_types=1);
  2. namespace PhpParser\Node\Scalar\MagicConst;
  3. use PhpParser\Node\Scalar\MagicConst;
  4. class File extends MagicConst
  5. {
  6. public function getName() : string {
  7. return '__FILE__';
  8. }
  9. public function getType() : string {
  10. return 'Scalar_MagicConst_File';
  11. }
  12. }