Table of Contents
-
DEVICE_CODE_COOKIE
= 'JinyaDeviceCode'
-
$body
: array<string, mixed>
-
$fileUploadService
: FileUploadService
-
__construct()
: mixed
-
entityNotFound()
: ResponseInterface
-
finishUpload()
: ResponseInterface
-
formatIteratorPlain()
: array<string|int, array<string, mixed>>
-
getFileContent()
: ResponseInterface
-
jsonIterator()
: ResponseInterface
-
jsonIteratorPlain()
: ResponseInterface
-
startUpload()
: ResponseInterface
-
uploadChunk()
: ResponseInterface
DEVICE_CODE_COOKIE
public
mixed
DEVICE_CODE_COOKIE
= 'JinyaDeviceCode'
$body
public
array<string, mixed>
$body
$fileUploadService
read-only
private
FileUploadService
$fileUploadService
= new FileUploadService()
__construct()
public
__construct([FileUploadService $fileUploadService = new FileUploadService() ]) : mixed
Parameters
-
$fileUploadService
: FileUploadService
= new FileUploadService()
-
Return values
mixed
—
entityNotFound()
public
entityNotFound(string $message) : ResponseInterface
Parameters
-
$message
: string
-
-
throws
-
JsonException
Return values
ResponseInterface
—
finishUpload()
public
finishUpload(int $id) : ResponseInterface
Parameters
-
$id
: int
-
-
throws
-
NotNullViolationException
-
throws
-
JsonException
Return values
ResponseInterface
—
public
formatIteratorPlain(Iterator<string|int, T> $iterator) : array<string|int, array<string, mixed>>
Parameters
-
$iterator
: Iterator<string|int, T>
-
-
template
-
-
throws
-
JsonException
Return values
array<string|int, array<string, mixed>>
—
getFileContent()
public
getFileContent(int $id) : ResponseInterface
Parameters
-
$id
: int
-
-
throws
-
JsonException
Return values
ResponseInterface
—
jsonIterator()
public
jsonIterator(Iterator $iterator) : ResponseInterface
Parameters
-
$iterator
: Iterator
-
-
throws
-
JsonException
Return values
ResponseInterface
—
jsonIteratorPlain()
public
jsonIteratorPlain(Iterator $iterator) : ResponseInterface
Parameters
-
$iterator
: Iterator
-
-
throws
-
JsonException
Return values
ResponseInterface
—
startUpload()
public
startUpload(int $id) : ResponseInterface
Parameters
-
$id
: int
-
-
throws
-
JsonException
Return values
ResponseInterface
—
uploadChunk()
public
uploadChunk(int $id, int $position) : ResponseInterface
Parameters
-
$id
: int
-
-
$position
: int
-
-
throws
-
NotNullViolationException
-
throws
-
JsonException
Return values
ResponseInterface
—