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