ProcessPoolResults
class ProcessPoolResults implements ArrayAccess (View source)
Properties
protected array | $results | The results of the processes. |
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.
Details
void
__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.
Collection
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.