Documentation

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

Methods

__construct()

Init application.

public __construct([bool $fullConstruct = true ]) : mixed
Parameters
$fullConstruct : bool = true
Tags
throws
Exception

fullConstruct()

public fullConstruct(mixed $di, mixed $apps) : mixed
Parameters
$di : mixed
$apps : mixed
Tags
throws
Exception

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>
Return values
array<string|int, mixed>

        
On this page

Search results