\Vegas\CliBootstrap

Class Bootstrap

Summary

Methods
Properties
Constants
__construct()
setArguments()
setup()
run()
No public properties found
No constants found
initLoader()
initEnvironment()
initModules()
initServices()
initEventsManager()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\Phalcon\Config $config)

Constructor Initializes Console Application Initializes DI for CLI application

Parameters

\Phalcon\Config $config

setArguments()

setArguments( $args)

Sets command line arguments

Parameters

$args

setup()

setup() : mixed

Executes all bootstrap initializator This method can be overloaded to load own initializator.

Returns

mixed

run()

run() : mixed

Runs application

Returns

mixed

initLoader()

initLoader()

Initializes loader Registers library and plugin directory

initEnvironment()

initEnvironment()

Initializes application environment

initModules()

initModules()

Initializes application modules

initServices()

initServices()

Initializes services

initEventsManager()

initEventsManager()

Setups CLI events manager