CodeBlock
Less than 1 minute
CodeBlock
Methods
seekCodeBlockEnd
Find a code block in the token stream.
protected seekCodeBlockEnd(array $tokens, string $start = '{', string $end = '}'): bool
This function will return an array of tokens that represent the code block found.
Parameters
Parameter | Type | Description |
---|---|---|
$tokens | array | the token stream to search |
$start | string | |
$end | string |
Generated by Hazaar API Doc Generator