protected function getObjectACL($path)
    {
        $metadata = $this->getVisibility($path);

        return $metadata['visibility'] === AdapterInterface::VISIBILITY_PUBLIC ? OssClient::OSS_ACL_TYPE_PUBLIC_READ : OssClient::OSS_ACL_TYPE_PRIVATE;
    }
protected function getObjectACL($path)
    {
        $metadata = $this->getVisibility($path);

        return $metadata['visibility'] === AdapterInterface::VISIBILITY_PUBLIC ? OssClient::OSS_ACL_TYPE_PUBLIC_READ : OssClient::OSS_ACL_TYPE_PRIVATE;
    }
protected function getObjectACL ( $ path ) { $ metadata = $ this -> getVisibility ( $ path ) ; return $ metadata [ 'visibility' ] === AdapterInterface :: VISIBILITY_PUBLIC ? OssClient :: OSS_ACL_TYPE_PUBLIC_READ : OssClient :: OSS_ACL_TYPE_PRIVATE ; }
The the ACL visibility.

@param string $path

@return string
The the ACL visibility .