putBucketAcl() public method

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
return mixed
Ejemplo n.º 1
0
 /**
  * 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);
 }