\Vegas\ApplicationBootstrap

Class Bootstrap

Bootstraps mvc application

Summary

Methods
Properties
Constants
__construct()
setDi()
setup()
run()
No public properties found
No constants found
initEnvironment()
initLoader()
initModules()
initServices()
initRoutes()
$di
$application
$config
N/A
No private methods found
No private properties found
N/A

Properties

$di

$di : \Phalcon\DiInterface

Dependency injection

Type

\Phalcon\DiInterface

$config

$config : \Phalcon\Config

Application config

Type

\Phalcon\Config

Methods

__construct()

__construct(\Phalcon\Config $config)

Constructor Initializes MVC Application Initializes DI for Application

Parameters

\Phalcon\Config $config

setDi()

setDi(\Phalcon\DiInterface $di)

Sets Dependency Injector

Parameters

\Phalcon\DiInterface $di

setup()

setup() : $this

Setups application

Returns

$this

run()

run(string $uri) : string

Start handling MVC requests

Parameters

string $uri

Returns

string

initEnvironment()

initEnvironment()

Initializes application environment

initLoader()

initLoader()

Initializes loader Registers library and plugin directory

initModules()

initModules()

Initializes application modules

initServices()

initServices()

Initializes services

initRoutes()

initRoutes()

Initializes routing