DocBlockParser
Less than 1 minute
DocBlockParser
Helpers for discovering declaration doc comments in token streams.
trait DocBlockParserMethods
checkDocComment
Returns the doc comment token immediately before the current token.
protected checkDocComment(array $tokens, bool $doubleJump): ?DocBlockParameters
| Parameter | Type | Description |
|---|---|---|
$tokens | array | token stream used by the parser |
$doubleJump | bool | whether to move back two tokens before checking |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000