Doctrine\ORM\Query\Parser::_isAggregateFunction PHP Méthode

_isAggregateFunction() private méthode

Checks whether the given token type indicates an aggregate function.
private _isAggregateFunction ( $tokenType ) : boolean
Résultat boolean TRUE if the token type is an aggregate function, FALSE otherwise.
    private function _isAggregateFunction($tokenType)
    {
        return $tokenType == Lexer::T_AVG || $tokenType == Lexer::T_MIN ||
               $tokenType == Lexer::T_MAX || $tokenType == Lexer::T_SUM ||
               $tokenType == Lexer::T_COUNT;
    }
Parser