| 1 | <?php |
||
| 18 | class InvocationDelegate extends BaseRuleDelegate |
||
| 19 | { |
||
| 20 | public function getRule(): Symbol |
||
|
|
|||
| 21 | { |
||
| 22 | $first = $this->getChild(0); |
||
| 23 | |||
| 24 | switch ($first->getName()) { |
||
| 25 | case 'T_INVOKE': |
||
| 26 | return $this->getRule(); |
||
| 27 | } |
||
| 28 | |||
| 29 | dd((string)$first); |
||
| 30 | } |
||
| 31 | |||
| 32 | private function getRule(): Symbol |
||
| 36 | |||
| 37 | private function getToken(bool $skip) |
||
| 41 | } |
||
| 42 |