- class
Module
(php\lang\Module
) - package
std
- source
php/lang/Module.php
Description
Class Module
Module ::
package()
->
__construct()
- Register all functions and classes of module in current environment->
getName()
->
call()
- Include module and return result->
dumpJVMClasses()
- Dump all the jvm classes of the module as .class files into targetDir->
dump()
->
getData()
- Java Bytecode data (.class file)->
cleanData()
- Remove bytecode data.->
getClasses()
->
getFunctions()
->
getConstants()
Module::package(string $name, array $classes): void
__construct(File|Stream|string $source, bool $compiled, bool $debugInformation): void
Register all functions and classes of module in current environment
getName(): string
call(array $variables): mixed
Include module and return result
dumpJVMClasses(string $targetDir, bool $saveDebugInfo): array
Dump all the jvm classes of the module as .class files into targetDir
dump(File|Stream|string $target, bool $saveDebugInfo, bool $includeJvmData): void
getData(): string
Java Bytecode data (.class file)
cleanData(): void
Remove bytecode data.
getClasses(): \ReflectionClass[]
getFunctions(): \ReflectionFunction[]
getConstants(): array