Documentation

CloudStorageService
in package

Table of Contents

Properties

$bucketAliases  : array<string|int, BucketAlias>
$fileUtil  : FileUtil
$googleCloudStorageClient  : StorageClient
$view  : View

Methods

__construct()  : mixed
addBucketAlias()  : void
clientDownload()  : void
clientDownloadInChunks()  : void
convertSignedUrlToGsUrl()  : string
deleteFile()  : mixed
downloadToFile()  : mixed
getBucketAliases()  : array<string|int, BucketAlias>|null
getDownloadStream()  : StreamInterface
getDownloadString()  : string
getObjectByPartialName()  : string|null
object()  : StorageObject
getDownload()  : StorageObject|null

Properties

Methods

addBucketAlias()

public addBucketAlias(string $bucketName, string $alias) : void
Parameters
$bucketName : string
$alias : string

convertSignedUrlToGsUrl()

public convertSignedUrlToGsUrl(string $url) : string
Parameters
$url : string
Return values
string

deleteFile()

public deleteFile(mixed $sourceFile) : mixed
Parameters
$sourceFile : mixed

getObjectByPartialName()

public getObjectByPartialName(mixed $bucketName, mixed $prefix) : string|null
Parameters
$bucketName : mixed
$prefix : mixed
Return values
string|null

        
On this page

Search results