Webiny\Component\Amazon\Bridge\S3\S3::getBucketLocation PHP 메소드

getBucketLocation() 공개 메소드

Returns the region the bucket resides in.
public getBucketLocation ( string $bucket ) : mixed
$bucket string
리턴 mixed
    public function getBucketLocation($bucket)
    {
        $params = ['Bucket' => $bucket];
        return $this->instance->getBucketLocation($params);
    }

Usage Example

예제 #1
0
파일: S3.php 프로젝트: Webiny/Framework
 /**
  * Returns the region the bucket resides in.
  *
  * @param string $bucket
  *
  * @return mixed
  */
 public function getBucketLocation($bucket)
 {
     return $this->instance->getBucketLocation($bucket);
 }