Webiny\Component\Amazon\Bridge\S3\S3::getObjectAcl PHP Method

getObjectAcl() public method

Returns the access control list (ACL) of an object.
public getObjectAcl ( $bucket, $key ) : mixed
$bucket
$key
return mixed
    public function getObjectAcl($bucket, $key)
    {
        $params = ['Bucket' => $bucket, 'Key' => $key];
        return $this->instance->getObjectAcl($params);
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Returns the access control list (ACL) of an object.
  *
  * @param $bucket
  * @param $key
  *
  * @return mixed
  */
 public function getObjectAcl($bucket, $key)
 {
     return $this->instance->getObjectAcl($bucket, $key);
 }