Pipeline
class Pipeline
Properties
| protected Pipe> | $firstPipes | The first pipes in the pipeline. |
|
| protected Pipe> | $pipes | The default pipes in the pipeline. |
|
| protected Pipe> | $lastPipes | The last pipes in the pipeline. |
|
| protected array<string, true> | $names | The registered pipe names. |
Methods
pipe(callable $callable, string|null $name = null, PipeOrder|null $order = null)
Add a pipe to the pipeline.
mixed
process(mixed $payload)
Process the pipeline.
array
pipes()
Get all the pipes in execution order.
Details
at line 48
Pipeline
pipe(callable $callable, string|null $name = null, PipeOrder|null $order = null)
Add a pipe to the pipeline.
at line 72
mixed
process(mixed $payload)
Process the pipeline.
at line 89
Pipeline
setPipes(array $pipes)
Set the pipes on the pipeline.
at line 108
array
pipes()
Get all the pipes in execution order.