class ProcessPoolResults implements ArrayAccess (View source)

Properties

protected array $results

The results of the processes.

Methods

void
__construct(array $results)

Create a new process pool result set.

collect()

Get the results as a collection.

bool
offsetExists(int $offset)

Determine if the given array offset exists.

mixed
offsetGet(int $offset)

Get the result at the given offset.

void
offsetSet(int $offset, mixed $value)

Set the result at the given offset.

void
offsetUnset(int $offset)

Unset the result at the given offset.

Details

void __construct(array $results)

Create a new process pool result set.

Parameters

array $results

Return Value

void

Collection collect()

Get the results as a collection.

Return Value

Collection

bool offsetExists(int $offset)

Determine if the given array offset exists.

Parameters

int $offset

Return Value

bool

mixed offsetGet(int $offset)

Get the result at the given offset.

Parameters

int $offset

Return Value

mixed

void offsetSet(int $offset, mixed $value)

Set the result at the given offset.

Parameters

int $offset
mixed $value

Return Value

void

void offsetUnset(int $offset)

Unset the result at the given offset.

Parameters

int $offset

Return Value

void