- 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): voidRegister all functions and classes of module in current environment
getName(): stringcall(array $variables): mixedInclude module and return result
dumpJVMClasses(string $targetDir, bool $saveDebugInfo): arrayDump all the jvm classes of the module as .class files into targetDir
dump(File|Stream|string $target, bool $saveDebugInfo, bool $includeJvmData): voidgetData(): stringJava Bytecode data (.class file)
cleanData(): voidRemove bytecode data.
getClasses(): \ReflectionClass[]getFunctions(): \ReflectionFunction[]getConstants(): array