Skip to content

Kirby 5.2.1

$parser->current()

Returns the current token

$parser->current() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$parser->current(): Kirby\Query\Parser\Token

Return type

Kirby\Query\Parser\Token

This method modifies the existing $parser object it is applied to and returns it again.

Parent class

Kirby\Query\Parser\Parser