public static function where($key, $operatorOrValue=null, $value=null)
    {
        $g = new ConditionGroup();

        if (func_num_args() == 1) {
            return $g->where($key);
        }

        if (func_num_args() == 2) {
            return $g->where($key, $operatorOrValue);
        }

        return $g->where($key, $operatorOrValue, $value);

    }
public static function where($key, $operatorOrValue=null, $value=null)
    {
        $g = new ConditionGroup();

        if (func_num_args() == 1) {
            return $g->where($key);
        }

        if (func_num_args() == 2) {
            return $g->where($key, $operatorOrValue);
        }

        return $g->where($key, $operatorOrValue, $value);

    }
public static function where ( $ key , $ operatorOrValue = null , $ value = null ) { $ g = new ConditionGroup ( ) ; if ( func_num_args ( ) == 1 ) { return $ g -> where ( $ key ) ; } if ( func_num_args ( ) == 2 ) { return $ g -> where ( $ key , $ operatorOrValue ) ; } return $ g -> where ( $ key , $ operatorOrValue , $ value ) ; }
Create a new ConditionGroup.

@param string|\Ems\Contracts\Core\Expression|\Closure $operand
@param mixed                                          $operatorOrValue (optional)
@param mixed                                          $value (optional)

@return ConditionGroup
Create a new ConditionGroup .