Module¶
-
php\lang\Module
Class Module
Methods
__construct
($source, $compiled = false, $debugInformation = true)¶Register all functions and classes of module in current environment
Parameters:
- $source – php\io\File, php\io\Stream, string
- $compiled – bool
- $debugInformation – bool
getName
()¶
Returns: string
call
($variables = null)¶Include module and return result
Parameters:
- $variables – array
Returns: mixed
dump
($target, $saveDebugInfo = true)¶throws >
Parameters:
- $target – php\io\File, php\io\Stream, string
- $saveDebugInfo – bool