Table of Contents
-
DEVICE_CODE_COOKIE
= 'JinyaDeviceCode'
-
$body
: array<string, mixed>
-
analyzeDatabase()
: ResponseInterface
-
entityNotFound()
: ResponseInterface
-
formatIteratorPlain()
: array<string|int, array<string, mixed>>
-
jsonIterator()
: ResponseInterface
-
jsonIteratorPlain()
: ResponseInterface
-
queryDatabase()
: ResponseInterface
-
executeSqlString()
: array<string|int, mixed>|int
DEVICE_CODE_COOKIE
public
mixed
DEVICE_CODE_COOKIE
= 'JinyaDeviceCode'
$body
public
array<string, mixed>
$body
analyzeDatabase()
public
analyzeDatabase() : ResponseInterface
-
throws
-
JsonException
-
throws
-
Exception
Return values
ResponseInterface
—
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>>
—
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
—
queryDatabase()
public
queryDatabase() : ResponseInterface
-
throws
-
JsonException
Return values
ResponseInterface
—
executeSqlString()
private
executeSqlString(string $sql) : array<string|int, mixed>|int
Parameters
-
$sql
: string
-
Return values
array<string|int, mixed>|int
—