InstallController
extends BaseController
in package
Tags
Table of Contents
- DEVICE_CODE_COOKIE = 'JinyaDeviceCode'
- $body : array<string, mixed>
- $engine : Engine
- $logger : LoggerInterface
- __construct() : mixed
- createAdmin() : ResponseInterface
- createConfiguration() : ResponseInterface
- createDatabase() : ResponseInterface
- entityNotFound() : ResponseInterface
- formatIteratorPlain() : array<string|int, array<string, mixed>>
- getInstall() : ResponseInterface
- Renders the installer page
- jsonIterator() : ResponseInterface
- jsonIteratorPlain() : ResponseInterface
- renderThemed() : ResponseInterface
- Renders the given template with the given data
Constants
DEVICE_CODE_COOKIE
public
mixed
DEVICE_CODE_COOKIE
= 'JinyaDeviceCode'
Tags
Properties
$body
public
array<string, mixed>
$body
$engine
private
Engine
$engine
The Plates engine
Tags
$logger read-only
private
LoggerInterface
$logger
Tags
Methods
__construct()
public
__construct() : mixed
Tags
Return values
mixed —createAdmin()
public
createAdmin() : ResponseInterface
Tags
Return values
ResponseInterface —createConfiguration()
public
createConfiguration() : ResponseInterface
Tags
Return values
ResponseInterface —createDatabase()
public
createDatabase() : ResponseInterface
Tags
Return values
ResponseInterface —entityNotFound()
public
entityNotFound(string $message) : ResponseInterface
Parameters
- $message : string
Tags
Return values
ResponseInterface —formatIteratorPlain()
public
formatIteratorPlain(Iterator<string|int, T> $iterator) : array<string|int, array<string, mixed>>
Parameters
- $iterator : Iterator<string|int, T>
Tags
Return values
array<string|int, array<string, mixed>> —getInstall()
Renders the installer page
public
getInstall() : ResponseInterface
Tags
Return values
ResponseInterface —jsonIterator()
public
jsonIterator(Iterator $iterator) : ResponseInterface
Parameters
- $iterator : Iterator
Tags
Return values
ResponseInterface —jsonIteratorPlain()
public
jsonIteratorPlain(Iterator $iterator) : ResponseInterface
Parameters
- $iterator : Iterator
Tags
Return values
ResponseInterface —renderThemed()
Renders the given template with the given data
private
renderThemed(string $template, array<string|int, mixed> $data) : ResponseInterface
Parameters
- $template : string
- $data : array<string|int, mixed>