Table of Contents
-
DEVICE_CODE_COOKIE
= 'JinyaDeviceCode'
-
$body
: array<string, mixed>
-
entityNotFound()
: ResponseInterface
-
formatIteratorPlain()
: array<string|int, array<string, mixed>>
-
getSections()
: ResponseInterface
-
jsonIterator()
: ResponseInterface
-
jsonIteratorPlain()
: ResponseInterface
-
replaceSections()
: ResponseInterface
DEVICE_CODE_COOKIE
public
mixed
DEVICE_CODE_COOKIE
= 'JinyaDeviceCode'
$body
public
array<string, mixed>
$body
entityNotFound()
public
entityNotFound(string $message) : ResponseInterface
Parameters
-
$message
: string
-
-
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>>
—
getSections()
public
getSections(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
—
replaceSections()
public
replaceSections(int $id) : ResponseInterface
Parameters
-
$id
: int
-
-
throws
-
TransactionFailedException
-
throws
-
JsonException
Return values
ResponseInterface
—