Literal
in package
Literal value class
Wraps a raw PHP-source expression (e.g. 'self::FOO', 'Status::Active', 'new Foo()') that must be emitted verbatim wherever a generator would otherwise quote/escape a plain PHP value.
Tags
Table of Contents
Properties
- $value : string
- The raw source expression
Methods
- __construct() : mixed
- Constructor
- getValue() : string
- Get the raw source expression
Properties
$value
The raw source expression
protected
string
$value
Methods
__construct()
Constructor
public
__construct(string $value) : mixed
Parameters
- $value : string
getValue()
Get the raw source expression
public
getValue() : string