Doctrine\ORM\Query\Parser::_isMathOperator PHP Метод

_isMathOperator() приватный Метод

Checks if the given token indicates a mathematical operator.
private _isMathOperator ( $token ) : boolean
Результат boolean TRUE if the token is a mathematical operator, FALSE otherwise.
    private function _isMathOperator($token)
    {
        return in_array($token['value'], array("+", "-", "/", "*"));
    }
Parser