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

deleteBucket() 공개 메소드

All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.
public deleteBucket ( $bucket ) : mixed
$bucket
리턴 mixed
    public function deleteBucket($bucket)
    {
        $params['Bucket'] = $bucket;
        return $this->instance->deleteBucket($params);
    }

Usage Example

예제 #1
0
파일: S3.php 프로젝트: Webiny/Framework
 /**
  * Deletes the bucket.
  * All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.
  *
  * @param $bucket
  *
  * @return mixed
  */
 public function deleteBucket($bucket)
 {
     return $this->instance->deleteBucket($bucket);
 }