Function_.php 324 B

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