about summary refs log tree commit diff stats
path: root/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String_.php
blob: a8f8c254860a7933dce114e19a7c8ea35b5e81a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php declare(strict_types=1);

namespace PhpParser\Node\Expr\Cast;

use PhpParser\Node\Expr\Cast;

class String_ extends Cast {
    // For use in "kind" attribute
    public const KIND_STRING = 1; // "string" syntax
    public const KIND_BINARY = 2; // "binary" syntax

    public function getType(): string {
        return 'Expr_Cast_String';
    }
}