Mellivora/Database/Query/Builder.php
protected function prepareValueAndOperator($value, $operator, $useDefault = false)
    {
        if ($useDefault) {
            return [$operator, '='];
        }
        if ($this->invalidOperatorAndValue($operator, $value)) {
            throw new InvalidArgumentException('Illegal operator and value combination.');
        }

        return [$value, $operator];
    }
protected function prepareValueAndOperator($value, $operator, $useDefault = false)
    {
        if ($useDefault) {
            return [$operator, '='];
        }
        if ($this->invalidOperatorAndValue($operator, $value)) {
            throw new InvalidArgumentException('Illegal operator and value combination.');
        }

        return [$value, $operator];
    }
protected function prepareValueAndOperator ( $ value , $ operator , $ useDefault = false ) { if ( $ useDefault ) { return [ $ operator , '=' ] ; } if ( $ this -> invalidOperatorAndValue ( $ operator , $ value ) ) { throw new InvalidArgumentException ( 'Illegal operator and value combination.' ) ; } return [ $ value , $ operator ] ; }
Prepare the value and operator for a where clause.

@param string $value
@param string $operator
@param bool   $useDefault

@throws \InvalidArgumentException

@return array
Prepare the value and operator for a where clause .