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

_isMathOperator() private méthode

Checks if the given token indicates a mathematical operator.
private _isMathOperator ( $token ) : boolean
Résultat boolean TRUE if the token is a mathematical operator, FALSE otherwise.
    private function _isMathOperator($token)
    {
        return in_array($token['value'], array("+", "-", "/", "*"));
    }
Parser