ModuleValidator
class ModuleValidator
Class ModuleValidartor
Methods
setModulePath(
mixed $modulePath)
No description
mixed
getModulePath()
No description
getModuleDescriptor()
No description
ModuleDefinition|null
getModuleDefinition()
No description
mixed
getModuleVersion()
No description
array
getErrors()
No description
getTranslator()
No description
validate(
bool $checkCurrentVersion = true)
Validate a module, checks :
loadModuleDefinition()
No description
array
getModulesDependOf(
bool|null $active = true)
Get an array of modules that depend of the current module
getCurrentModuleDependencies()
No description
Details
at line 57
__construct(
string $modulePath = null,
Translator $translator = null)
at line 75
setModulePath(
mixed $modulePath)
at line 83
mixed
getModulePath()
at line 91
ModuleDescriptorValidator|null
getModuleDescriptor()
at line 99
ModuleDefinition|null
getModuleDefinition()
at line 107
mixed
getModuleVersion()
at line 116
array
getErrors()
at line 124
Translator
getTranslator()
at line 142
validate(
bool $checkCurrentVersion = true)
Validate a module, checks :
- version of Thelia
- modules dependencies
at line 209
loadModuleDefinition()
at line 347
array
getModulesDependOf(
bool|null $active = true)
Get an array of modules that depend of the current module