Property | Type | Description | |
---|---|---|---|
$moduleNamespace |
Property | Type | Description | |
---|---|---|---|
$cache | |||
$cacheManager | |||
$filesystem | |||
$moduleContainer | |||
$modulesName | |||
$path |
Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
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 | |
return | mixed |
protected checkDependecies ( array $dependeny ) | ||
$dependeny | array |
protected checkInfo ( $info, $name ) : stdClass | ||
$info | ||
$name | ||
return | stdClass |
protected decoratorsInit ( string $name, array $decorators ) | ||
$name | string | |
$decorators | array |
protected extModuleInfo ( string $path ) : stdClass | mixed | ||
$path | string | |
return | stdClass | mixed |
public getModules ( ) : Illuminate\Container\Container | ||
return | Illuminate\Container\Container |
protected initModule ( string $folder ) : void | ||
$folder | string | |
return | void |
public loadModule ( string $name, stdClass $config, stdClass $info ) : boolean | ||
$name | string | |
$config | stdClass | |
$info | stdClass | |
return | boolean |