Doctrine\Common\Annotations\DocParser::matchAny
Attempts to match the current lookahead token with any of the given tokens.
If any of them matches, this method updates the lookahead token; otherwise a syntax error is raised.
Signature
private function matchAny(array
$tokens )
Parameters
$tokens
— array
Returns
- bool