RestBootstrap
in package
Table of Contents
Properties
- $application : mixed
- $config : mixed
- $initializer : Initializer
- $logger : mixed
Methods
- __construct() : mixed
- Init application.
- fullConstruct() : mixed
- run() : mixed
- initDispatcher() : mixed
- getNamespaces() : array<string|int, mixed>
- Get namespaces for the given module.
- loadApps() : array<string|int, mixed>
- Load modules (apps) for the application.
Properties
$application
protected
mixed
$application
= null
$config
protected
mixed
$config
= null
$initializer
protected
Initializer
$initializer
$logger
protected
mixed
$logger
= null
Methods
__construct()
Init application.
public
__construct([bool $fullConstruct = true ]) : mixed
Parameters
- $fullConstruct : bool = true
Tags
fullConstruct()
public
fullConstruct(mixed $di, mixed $apps) : mixed
Parameters
- $di : mixed
- $apps : mixed
Tags
run()
public
run() : mixed
initDispatcher()
protected
initDispatcher(mixed $di) : mixed
Parameters
- $di : mixed
getNamespaces()
Get namespaces for the given module.
private
getNamespaces(string $app, string $baseNamespace) : array<string|int, mixed>
Parameters
- $app : string
-
Module's name
- $baseNamespace : string
-
Application's basic namespace
Return values
array<string|int, mixed>loadApps()
Load modules (apps) for the application.
private
loadApps() : array<string|int, mixed>