Classes/S3Storage.php
/**
     * Deletes the storage data related to the given Resource object
     *
     * @param PersistentResource $resource The Resource to delete the storage data of
     * @return boolean TRUE if removal was successful
     * @api
     */
Deletes the storage data related to the given Resource object
@param PersistentResource $resource The Resource to delete the storage data of
@return boolean TRUE if removal was successful
@api
Deletes the storage data related to the given Resource object @param PersistentResource $resource The Resource to delete the storage data of @return boolean TRUE if removal was successful @api
public function deleteResource(PersistentResource $resource): bool
    {
        $this->s3Client->deleteObject([
            'Bucket' => $this->bucketName,
            'Key' => $this->keyPrefix . $resource->getSha1()
        ]);
        return true;
    }
public function deleteResource ( PersistentResource $ resource ) : bool { $ this -> s3Client -> deleteObject ( [ 'Bucket' => $ this -> bucketName , 'Key' => $ this -> keyPrefix . $ resource -> getSha1 ( ) ] ) ; return true ; }
Deletes the storage data related to the given Resource object
 @param PersistentResource $resource The Resource to delete the storage data of
 @return boolean TRUE if removal was successful
 @api
Deletes the storage data related to the given Resource object @param PersistentResource $resource The Resource to delete the storage data of @return boolean TRUE if removal was successful @api