ParserEnumCase
Less than 1 minute
ParserEnumCase
Parses class property declarations.
class ParserEnumCase extends \Hazaar\Parser\PHP\TokenParserProperties
name
public string $namevalue
public mixed $valueparserObjectType
private int $parserObjectType = 'T_CASE'Methods
parse
Parses a class property at the current token position.
public parse(array $tokens): boolParameters
| Parameter | Type | Description |
|---|---|---|
$tokens | array | token stream positioned on T_VARIABLE |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000