Doctrine\Common\Annotations\DocParser::match
Attempts to match the given token with the current lookahead token.
If they match, updates the lookahead token; otherwise raises a syntax error.
Signature
private function match(int
$token )
Parameters
$token
— int- type of Token.
Returns
- bool
- True if tokens match; false otherwise.