Doctrine\Common\Lexer::glimpse
Peeks at the next token, returns it and immediately resets the peek.
Signature
public function glimpse()
Returns
- array|null
- The next token or NULL if there are no more tokens ahead.
public function glimpse()