Properties

$_conf

$_conf : 

Type

$_appConf

$_appConf : 

Type

$instance

$instance : 

Type

$_composer

$_composer : 

Type

$_instances

$_instances : 

Type

$_components

$_components : 

Type

$_delInstanceComponents

$_delInstanceComponents : 

Type

$_completeDelInstanceComponents

$_completeDelInstanceComponents : 

Type

Methods

__construct()

__construct(  $conf = array()) 

Parameters

$conf

getConf()

getConf() 

getAppConf()

getAppConf() 

triggerThrowable()

triggerThrowable(\Throwable  $e) 

Parameters

\Throwable $e

handleThrowable()

handleThrowable(\Throwable  $e) 

Parameters

\Throwable $e

getInstance()

getInstance() 

appHasComponents()

appHasComponents(  $system) 

Parameters

$system

setAppComponents()

setAppComponents(  $system,   $conf) 

Parameters

$system
$conf

setComponentConf()

setComponentConf(  $haver,   $component,   $conf) 

Parameters

$haver
$component
$conf

getComponentConf()

getComponentConf(  $haver,   $component) 

Parameters

$haver
$component

getClassPathByKey()

getClassPathByKey(  $haver,   $key) 

Parameters

$haver
$key

hasComponent()

hasComponent(  $haver,   $component) 

Parameters

$haver
$component

addComponent()

addComponent(  $system,   $key,   $classPath,   $conf = array()) : boolean

Parameters

$system
$key
$classPath
$conf

array('default' => [],'app'=> [])

Throws

\Exception

Returns

boolean

addComponents()

addComponents(  $system,   $components) 

Parameters

$system
$components

getComponent()

getComponent(  $haver,   $key,   $params = array()) 

Parameters

$haver
$key
$params

unInstall()

unInstall(  $haver,   $componentKey,   $completeDel = false) 

Parameters

$haver
$componentKey
$completeDel

destroyComponent()

destroyComponent(  $haver,   $key) 

Parameters

$haver
$key

destroyComponentsInstance()

destroyComponentsInstance(  $haver,   $key) 

Parameters

$haver
$key

finish()

finish(  $haver) 

Parameters

$haver

getValueFromConf()

getValueFromConf(  $key,   $default = '') 

Parameters

$key
$default

init()

init()