putBucketAcl() 공개 메소드

Sets the permissions on a bucket using access control lists (ACL).
public putBucketAcl ( string $bucket, string $acl ) : mixed
$bucket string
$acl string private | public-read | public-read-write | authenticated-read
리턴 mixed
예제 #1
0
파일: S3.php 프로젝트: Webiny/Framework
 /**
  * Sets the permissions on a bucket using access control lists (ACL).
  *
  * @param string $bucket
  * @param string $acl private | public-read | public-read-write | authenticated-read
  *
  * @return mixed
  */
 public function putBucketAcl($bucket, $acl)
 {
     return $this->instance->putBucketAcl($bucket, $acl);
 }