Pipe
class Pipe mixin Factory mixin PendingProcess (View source)
Properties
protected Factory | $factory | The process factory instance. |
|
protected callable | $callback | The callback that resolves the pending processes. |
|
protected array | $pendingProcesses | The array of pending processes. |
Methods
void
as(string $key)
Add a process to the pipe with a key.
run(callable|null $output = null)
Runs the processes in the pipe.
__call(string $method, array $parameters)
Dynamically proxy methods calls to a new pending process.
Details
void
__construct(Factory $factory, callable $callback)
Create a new series of piped processes.
PendingProcess
as(string $key)
Add a process to the pipe with a key.
ProcessResult
run(callable|null $output = null)
Runs the processes in the pipe.
PendingProcess
__call(string $method, array $parameters)
Dynamically proxy methods calls to a new pending process.