Doctrine\Common\Annotations\TokenParser::next
Gets the next non whitespace and non comment token.
Signature
public function next([
$docCommentIsComment = TRUE] )
Parameters
$docCommentIsComment
—
If TRUE then a doc comment is considered a comment and skipped.
If FALSE then only whitespace and normal comments are skipped.
Returns
- array
- The token if exists, null otherwise.