ExecutionLoopClosure
extends ExecutionClosure
in package
The Psy Shell's execution loop scope.
Tags
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
NOOP_INPUT
public
mixed
NOOP_INPUT
= 'return null;'
Properties
$closure
private
mixed
$closure
Methods
__construct()
public
__construct(Shell $__psysh__) : mixed
Parameters
- $__psysh__ : Shell
Return values
mixed —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