Properties

$container

$container : \Psr\Container\ContainerInterface

Type

\Psr\Container\ContainerInterface

$version

$version : string

Type

string

$appPath

$appPath : string

Type

string

$moduleInfo

$moduleInfo : array

Type

array

Methods

__construct()

__construct() 

getRootPath()

getRootPath() : string

Returns

string

app()

app(string  $id) : mixed

Parameters

string $id

Returns

mixed

getContainer()

getContainer() : \Psr\Container\ContainerInterface

Returns

\Psr\Container\ContainerInterface

scanModule()

scanModule() 

getVersion()

getVersion() : string

Returns

string

getAppPath()

getAppPath() : mixed

Returns

mixed

setAppPath()

setAppPath(mixed  $appPath) 

Parameters

mixed $appPath

getModuleInfo()

getModuleInfo(string|null  $name = null) : mixed

Parameters

string|null $name

Returns

mixed

setModuleInfo()

setModuleInfo(mixed  $moduleInfo) 

Parameters

mixed $moduleInfo

setModuleConfigValue()

setModuleConfigValue(String  $key,   $value, false  $save = false) : boolean

Parameters

String $key
$value
false $save

Returns

boolean

saveModuleConfig()

saveModuleConfig(string  $mod) 

Parameters

string $mod