You are here

public function S3Url::getBucket in AmazonS3 7.2

Return the bucket associated with the URL.

Return value

string

1 call to S3Url::getBucket()
S3Url::getImageStyleUrl in src/S3Url.php
Return the image style URL associated with this URL.

File

src/S3Url.php, line 38

Class

S3Url
Represents an s3:// stream URL.

Namespace

Drupal\amazons3

Code

public function getBucket() {
  return $this
    ->getHost();
}