Documentation

CloudStorageComponent extends Injectable
in package

Table of Contents

Properties

$client  : StorageClient
$defaultBucket  : string
$defaultPath  : string
$helperFactory  : HelperFactory

Methods

__construct()  : mixed
CloudStorageComponent constructor.
getBucket()  : Bucket
getClient()  : StorageClient
getFile()  : FileComponent
getObject()  : mixed
uploadFile()  : mixed
getLocalFile()  : mixed

Properties

Methods

getBucket()

public getBucket([null $bucket = null ]) : Bucket
Parameters
$bucket : null = null
Return values
Bucket

getObject()

public getObject(mixed $path[, mixed $bucket = null ]) : mixed
Parameters
$path : mixed
$bucket : mixed = null

uploadFile()

public uploadFile(mixed $path[, null $bucket = null ]) : mixed
Parameters
$path : mixed
$bucket : null = null
Tags
throws
GoogleException

        
On this page

Search results