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