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