putObjectAcl() public method

Set the access control list (ACL) permissions for an object that already exists in a bucket
public putObjectAcl ( string $bucket, string $key, string $acl ) : mixed
$bucket string
$key string
$acl string private | public-read | public-read-write | authenticated-read | bucket-owner-read | bucket-owner-full-control
return mixed
Ejemplo n.º 1
0
 /**
  * Set the access control list (ACL) permissions for an object that already exists in a bucket
  *
  * @param string $bucket
  * @param string $key
  * @param string $acl private | public-read | public-read-write | authenticated-read | bucket-owner-read | bucket-owner-full-control
  *
  * @return mixed
  */
 public function putObjectAcl($bucket, $key, $acl)
 {
     return $this->instance->putObjectAcl($bucket, $key, $acl);
 }