Bootstrap
in package
Table of Contents
Properties
- $apps : mixed
- $di : mixed
- $application : Application
- $config : mixed
- $initializer : Initializer
- $logger : mixed
Methods
- __construct() : mixed
- Init application.
- compiledPath() : string
- Get the compiled path of view.
- 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
$apps
public
mixed
$apps
= null
$di
public
mixed
$di
= null
$application
protected
Application
$application
= null
$config
protected
mixed
$config
= null
$initializer
protected
Initializer
$initializer
$logger
protected
mixed
$logger
= null
Methods
__construct()
Init application.
public
__construct([mixed $fullConstruct = true ]) : mixed
Parameters
- $fullConstruct : mixed = true
compiledPath()
Get the compiled path of view.
public
static compiledPath(string $templatePath, array<string|int, mixed> $options, bool $extendsMode) : string
Parameters
- $templatePath : string
-
Path of the view template
- $options : array<string|int, mixed>
-
View options
- $extendsMode : bool
-
Currently unnecessary parameter
Return values
string —The compiled path
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>