Doctrine\Common\Lexer::isNextToken
Checks whether a given token matches the current lookahead.
Signature
public function isNextToken(integer|string
$token )
Parameters
$token
— object
Returns
- boolean
public function isNextToken(integer|string
$token )
$token
—
object