Skip to content

Core\Script

The script that is running now. arguments() returns the value the script was started with. onExit() adds a function that runs when the script ends, and finish() ends the script at once.

Members

3 members.

MemberSignature
argumentsarguments(): mixed
onExitonExit(callable(Core\Script\ExitReport): mixed $hook): void
finishfinish(): void