AirLay backend

FileUploadService extends Injectable
in package
implements AirlayServiceDi, AirlayCollectionDi, AirlayS3Di

Interfaces, Classes, Traits and Enums

AirlayServiceDi
Interface AirlayServiceDi
AirlayCollectionDi
Interface AirlayCollectionDi
AirlayS3Di
Interface AirlayFilesystemDi

Table of Contents

$  : AirlayConfig
$rabbitmq  : AMQPStreamConnection
getExtToMatch()  : string
getFile()  : array<string|int, mixed>
loadFiles()  : array<string|int, mixed>
loadFilesToTempStorage()  : array<string|int, mixed>
makePreview()  : void

Properties

Methods

getExtToMatch()

public getExtToMatch(array<string|int, mixed> $extArray, string $ext) : string
Parameters
$extArray : array<string|int, mixed>
$ext : string
Return values
string

getFile()

public getFile(string $ext, mixed $publicPath, string $type) : array<string|int, mixed>
Parameters
$ext : string
$publicPath : mixed
$type : string
Return values
array<string|int, mixed>

loadFiles()

public loadFiles(array<string|int, mixed> $files, string $folderPath, UserEntity $user) : array<string|int, mixed>
Parameters
$files : array<string|int, mixed>
$folderPath : string
$user : UserEntity
Return values
array<string|int, mixed>

loadFilesToTempStorage()

public loadFilesToTempStorage(array<string|int, mixed> $files, string $entity, ObjectId|null $id, UserEntity $user) : array<string|int, mixed>
Parameters
$files : array<string|int, mixed>
$entity : string
$id : ObjectId|null
$user : UserEntity
Return values
array<string|int, mixed>

makePreview()

public makePreview(string $pathMain, string $pathPreview, string $type) : void
Parameters
$pathMain : string
$pathPreview : string
$type : string
Return values
void

Search results