ParserEnumCase
Less than 1 minute
ParserEnumCase
Parses class property declarations.
class ParserEnumCase extends \Hazaar\Parser\PHP\TokenParserExtends: Hazaar\Parser\PHP\TokenParser
Properties
name
public string $nameType: string
value
public mixed $valueType: mixed
parserObjectType
private int $parserObjectType = 'T_CASE'Type: int
Methods
parse
Parses a class property at the current token position.
public parse(array $tokens): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$tokens | array | token stream positioned on T_VARIABLE |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000