ProcessPoolResults
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.
at line 25
bool
successful()
Determine if all of the processes in the pool were successful.
at line 33
bool
failed()
Determine if any of the processes in the pool failed.
at line 41
Collection
collect()
Get the results as a collection.
at line 49
bool
offsetExists(mixed $offset)
Determine if the given array offset exists.
at line 57
mixed
offsetGet(mixed $offset)
Get the result at the given offset.
at line 65
void
offsetSet(mixed $offset, mixed $value)
Set the result at the given offset.
at line 73
void
offsetUnset(mixed $offset)
Unset the result at the given offset.