You are here

public function StreamWrapperConfiguration::setBucket in AmazonS3 7.2

Set the bucket.

Parameters

string $bucket:

File

src/StreamWrapperConfiguration.php, line 157

Class

StreamWrapperConfiguration
Class to manage S3 stream wrapper configuration.

Namespace

Drupal\amazons3

Code

public function setBucket($bucket) {
  $this->data['bucket'] = $bucket;
}