EnumCaseStorage
in package
uses
UnserializeMemoryUsageSuppressionTrait
FinalYes
Table of Contents
Properties
- $deprecated : bool
- $stmt_location : CodeLocation
- $value : TLiteralString|TLiteralInt|UnresolvedConstantComponent|null
Methods
- __construct() : mixed
- __unserialize() : void
- getValue() : TLiteralInt|TLiteralString|null
Properties
$deprecated
public
bool
$deprecated
= false
$stmt_location
public
CodeLocation
$stmt_location
$value
public
TLiteralString|TLiteralInt|UnresolvedConstantComponent|null
$value
Methods
__construct()
public
__construct(TLiteralString|TLiteralInt|UnresolvedConstantComponent|null $value, CodeLocation $stmt_location) : mixed
Parameters
- $value : TLiteralString|TLiteralInt|UnresolvedConstantComponent|null
- $stmt_location : CodeLocation
__unserialize()
public
__unserialize(array<string|int, mixed> $properties) : void
Parameters
- $properties : array<string|int, mixed>
getValue()
public
getValue(ClassLikes $classlikes) : TLiteralInt|TLiteralString|null
Parameters
- $classlikes : ClassLikes