| @@ -1185,5 +1185,10 @@ | ||
| 1185 | 1185 | } |
| 1186 | 1186 | return "https://{$region}.digitaloceanspaces.com"; |
| 1187 | 1187 | } |
| 1188 | 1188 | |
| 1189 | + /** Exposes the already-constructed SDK client for StreamWrapper's registration — avoids reconstructing one from credentials. */ | |
| 1190 | + public function get_client() { | |
| 1191 | + return $this->DOClient; | |
| 1192 | + } | |
| 1193 | + | |
| 1189 | 1194 | } |