ProcessPoolResults
class ProcessPoolResults implements ArrayAccess, IteratorAggregate
Methods
Create a new process pool result set.
Determine if all of the processes in the pool were successful.
Determine if any of the processes in the pool failed.
Get the results as a collection.
Determine if the given array offset exists.
Get the result at the given offset.
Set the result at the given offset.
Unset the result at the given offset.
Get an iterator for the results.
Details
at line 24
__construct(array $results = [])
Create a new process pool result set.
at line 31
bool
successful()
Determine if all of the processes in the pool were successful.
at line 39
bool
failed()
Determine if any of the processes in the pool failed.
at line 47
Collection
collect()
Get the results as a collection.
at line 55
bool
offsetExists(mixed $offset)
Determine if the given array offset exists.
at line 63
mixed
offsetGet(mixed $offset)
Get the result at the given offset.
at line 71
void
offsetSet(mixed $offset, mixed $value)
Set the result at the given offset.
at line 79
void
offsetUnset(mixed $offset)
Unset the result at the given offset.
at line 89
Traversable
getIterator()
Get an iterator for the results.