\ImiMain

主类

Summary

Methods
Properties
Constants
__construct()
loadConfig()
getPath()
getNamespace()
getBeanScan()
getConfig()
getModuleName()
loadComponents()
__init()
No public properties found
No constants found
No protected methods found
$path
$namespace
$moduleName
N/A
No private methods found
No private properties found
N/A

Properties

$path

$path : string

当前模块根路径

Type

string

$namespace

$namespace : string

当前模块命名空间

Type

string

$moduleName

$moduleName : string

模块名称

Type

string

Methods

__construct()

__construct(\Imi\Main\string  $moduleName) 

Parameters

\Imi\Main\string $moduleName

loadConfig()

loadConfig() : void

加载配置

getPath()

getPath() : string

获取当前模块根路径

Returns

string

getNamespace()

getNamespace() : string

获取当前模块命名空间

Returns

string

getBeanScan()

getBeanScan() : array

获取要扫描的bean的命名空间

Returns

array

getConfig()

getConfig() : array

获取配置

Returns

array

getModuleName()

getModuleName() : string

获取模块名称

Returns

string

loadComponents()

loadComponents() : void

加载组件

__init()

__init()