1: | <?php declare(strict_types=1); |
2: | |
3: | namespace PhpParser\Node\Expr\Cast; |
4: | |
5: | use PhpParser\Node\Expr\Cast; |
6: | |
7: | class Int_ extends Cast { |
8: | // For use in "kind" attribute |
9: | public const KIND_INT = 1; // "int" syntax |
10: | public const KIND_INTEGER = 2; // "integer" syntax |
11: | |
12: | public function getType(): string { |
13: | return 'Expr_Cast_Int'; |
14: | } |
15: | } |
16: |