Documentation

ExecutionClosure
in package

The Psy Shell's execution scope.

Table of Contents

NOOP_INPUT  = 'return null;'
$closure  : mixed
__construct()  : mixed
execute()  : mixed
Go go gadget closure.
setClosure()  : mixed
Set the closure instance.
shouldBindClosure()  : bool
Decide whether to bind the execution closure.

Constants

Properties

Methods

execute()

Go go gadget closure.

public execute() : mixed
Return values
mixed

setClosure()

Set the closure instance.

protected setClosure(Shell $shell, Closure $closure) : mixed
Parameters
$shell : Shell
$closure : Closure
Return values
mixed

shouldBindClosure()

Decide whether to bind the execution closure.

protected static shouldBindClosure() : bool
Return values
bool

Search results