You are here

public function S3Url::setBucket in AmazonS3 7.2

Set the bucket.

Parameters

string $bucket:

File

src/S3Url.php, line 47

Class

S3Url
Represents an s3:// stream URL.

Namespace

Drupal\amazons3

Code

public function setBucket($bucket) {
  $this
    ->setHost($bucket);
}