Documentation

SaveFileService
in package

Table of Contents

Constants

FILE_UPLOAD_KEY  = 'import'

Properties

$em  : EntityManager
$storage  : GoogleCloudStorageComponent
$bucket  : mixed
$clientRepository  : ClientRepository
$response  : mixed
$userId  : mixed

Methods

__construct()  : mixed
deleteLocalFile()  : mixed
getCloudFullPath()  : mixed
getFile()  : mixed
handleUpload()  : mixed
saveLocalFile()  : mixed
getClient()  : Client
getCloudFolderPath()  : mixed
getCloudUploadPath()  : mixed
getDateStringForFile()  : mixed
getDateTime()  : mixed
getExtension()  : mixed
getFilename()  : mixed
getLocalFilePath()  : string
getStorageRelativePathPart()  : string
getUploadFolderPath()  : mixed
getUploadHandler()  : FileUpload
saveToCloud()  : mixed
createDirectoryIfNeeded()  : mixed
getBucket()  : mixed
getCloudFileName()  : mixed

Constants

Properties

Methods

handleUpload()

public handleUpload(mixed $bucket) : mixed
Parameters
$bucket : mixed

saveLocalFile()

public saveLocalFile(mixed $userId) : mixed
Parameters
$userId : mixed

getLocalFilePath()

protected getLocalFilePath() : string
Return values
string

getStorageRelativePathPart()

protected getStorageRelativePathPart() : string
Return values
string

getUploadHandler()

protected getUploadHandler() : FileUpload
Return values
FileUpload

createDirectoryIfNeeded()

private createDirectoryIfNeeded(mixed $path) : mixed
Parameters
$path : mixed

        
On this page

Search results