| @@ -1074,5 +1074,10 @@ | ||
| 1074 | 1074 | public function get_domain($region = '') { |
| 1075 | 1075 | return $this->config['endpoint']; |
| 1076 | 1076 | } |
| 1077 | 1077 | |
| 1078 | + /** Exposes the already-constructed SDK client for StreamWrapper's registration — avoids reconstructing one from credentials. */ | |
| 1079 | + public function get_client() { | |
| 1080 | + return $this->S3CompatibleClient; | |
| 1081 | + } | |
| 1082 | + | |
| 1078 | 1083 | } |