Module¶
-
php\lang\Module Class Module
Methods
__construct($source, $compiled = false, $debugInformation = true)¶Register all functions and classes of module in current environment
Параметры:
- $source – php\io\File, php\io\Stream,
string- $compiled –
bool- $debugInformation –
bool
getName()¶
Результат: string
call($variables = null)¶Include module and return result
Параметры:
- $variables –
arrayРезультат:
mixed
dump($target, $saveDebugInfo = true)¶throws
>
Параметры:
- $target – php\io\File, php\io\Stream,
string- $saveDebugInfo –
bool