class ProcessPoolResults implements ArrayAccess

Methods

__construct(array $results = [])

Create a new process pool result set.

bool
successful()

Determine if all of the processes in the pool were successful.

bool
failed()

Determine if any of the processes in the pool failed.

collect()

Get the results as a collection.

bool
offsetExists(mixed $offset)

Determine if the given array offset exists.

mixed
offsetGet(mixed $offset)

Get the result at the given offset.

void
offsetSet(mixed $offset, mixed $value)

Set the result at the given offset.

void
offsetUnset(mixed $offset)

Unset the result at the given offset.

Details

at line 18
__construct(array $results = [])

Create a new process pool result set.

Parameters

array $results

the results of the processes

at line 25
bool successful()

Determine if all of the processes in the pool were successful.

Return Value

bool

at line 33
bool failed()

Determine if any of the processes in the pool failed.

Return Value

bool

at line 41
Collection collect()

Get the results as a collection.

Return Value

Collection

at line 49
bool offsetExists(mixed $offset)

Determine if the given array offset exists.

Parameters

mixed $offset

Return Value

bool

at line 57
mixed offsetGet(mixed $offset)

Get the result at the given offset.

Parameters

mixed $offset

Return Value

mixed

at line 65
void offsetSet(mixed $offset, mixed $value)

Set the result at the given offset.

Parameters

mixed $offset
mixed $value

Return Value

void

at line 73
void offsetUnset(mixed $offset)

Unset the result at the given offset.

Parameters

mixed $offset

Return Value

void