프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$moduleNamespace |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cache | |||
$cacheManager | |||
$filesystem | |||
$moduleContainer | |||
$modulesName | |||
$path |
메소드 | 설명 | |
---|---|---|
__construct ( boolean $cache ) | ||
getModules ( ) : Illuminate\Container\Container | Get all modules in container | |
keys ( ) : array | Return all name modules in the container | |
loadModule ( string $name, stdClass $config, stdClass $info ) : boolean | Load module in container | |
loadModules ( $path = "" ) | Find and analyse the module folder | |
module ( string $name ) : IModule | mixed | Get module by name |
메소드 | 설명 | |
---|---|---|
checkConfig ( stdClass $config ) : mixed | Check base parametr in config | |
checkDependecies ( array $dependeny ) | Check dependencies for concret module initialized | |
checkInfo ( $info, $name ) : stdClass | Check base parametr in info | |
decoratorsInit ( string $name, array $decorators ) | Set decorators class by module | |
extModuleInfo ( string $path ) : stdClass | mixed | Get information for module | |
initModule ( string $folder ) : void | Init proccess by one module |
protected checkConfig ( stdClass $config ) : mixed | ||
$config | stdClass | |
리턴 | mixed |
protected checkDependecies ( array $dependeny ) | ||
$dependeny | array |
protected checkInfo ( $info, $name ) : stdClass | ||
$info | ||
$name | ||
리턴 | stdClass |
protected decoratorsInit ( string $name, array $decorators ) | ||
$name | string | |
$decorators | array |
protected extModuleInfo ( string $path ) : stdClass | mixed | ||
$path | string | |
리턴 | stdClass | mixed |
public getModules ( ) : Illuminate\Container\Container | ||
리턴 | Illuminate\Container\Container |
protected initModule ( string $folder ) : void | ||
$folder | string | |
리턴 | void |
public loadModule ( string $name, stdClass $config, stdClass $info ) : boolean | ||
$name | string | |
$config | stdClass | |
$info | stdClass | |
리턴 | boolean |