Skip to content

Commit d649c09

Browse files
[9.x] Add method to AwsS3V3Adapter (#41079)
* Add getClient method * Update AwsS3V3Adapter.php Co-authored-by: Taylor Otwell <[email protected]>
1 parent 788a18f commit d649c09

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Illuminate/Filesystem/AwsS3V3Adapter.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,14 @@ public function temporaryUrl($path, $expiration, array $options = [])
8181

8282
return (string) $uri;
8383
}
84+
85+
/**
86+
* Get the underlying S3 client.
87+
*
88+
* @return \Aws\S3\S3Client
89+
*/
90+
public function getClient()
91+
{
92+
return $this->client;
93+
}
8494
}

0 commit comments

Comments
 (0)