PipelineBuilder
in package
implements
PipelineBuilderInterface
Interfaces, Classes and Traits
Table of Contents
- $stages : array<string|int, callable>
- add() : self
- Add an stage.
- build() : PipelineInterface
- Build a new Pipeline object.
Properties
$stages
private
array<string|int, callable>
$stages
= []
Methods
add()
Add an stage.
public
add(callable $stage) : self
Parameters
- $stage : callable
Return values
self —build()
Build a new Pipeline object.
public
build([ProcessorInterface $processor = null ]) : PipelineInterface
Parameters
- $processor : ProcessorInterface = null