public static function plainSql($query)
    {
        $query = static::getBaseQuery($query);
        return self::inlineBindings($query->toSql(), $query->getBindings());
    }
public static function plainSql($query)
    {
        $query = static::getBaseQuery($query);
        return self::inlineBindings($query->toSql(), $query->getBindings());
    }
public static function plainSql ( $ query ) { $ query = static :: getBaseQuery ( $ query ) ; return self :: inlineBindings ( $ query -> toSql ( ) , $ query -> getBindings ( ) ) ; }
Present query builder as plain SQL, including inline parameter values

@param QueryBuilder|EloquentBuilder $query Query buiilder
@return string
Present query builder as plain SQL including inline parameter values