Documentation

SerializableWorkerClosure
in package

The Serializeable Worker Closure

Table of Contents

Properties

$input  : mixed
$run  : SerializableClosure

Methods

__construct()  : mixed
The constructor
getInput()  : Serializable
Gets the data, that should be processed
getSerializableClosure()  : SerializableClosure
setInput()  : mixed
Sets the data, that should be processed

Properties

Methods

__construct()

The constructor

public __construct(Closure $run[, Serializable $input = NULL ]) : mixed
Parameters
$run : Closure

the closure, that the worker should run

$input : Serializable = NULL

the data, that the worker should process

getInput()

Gets the data, that should be processed

public getInput() : Serializable
Return values
Serializable

the data, that the worker should process

getSerializableClosure()

public getSerializableClosure() : SerializableClosure
Return values
SerializableClosure

the closure, that the worker should run

setInput()

Sets the data, that should be processed

public setInput(Serializable $input) : mixed
Parameters
$input : Serializable

the data, that the worker should process


        
On this page

Search results