Pipeline
A pipeline of workers
Table of Contents
- $head_worker : Worker
- The head of the list of worker
- add() : void
- Add a worker to pipeline
- start() : Entity
- Run the chain of workers
Properties
$head_worker
The head of the list of worker
private
Worker
$head_worker
Methods
add()
Add a worker to pipeline
public
add(Worker $worker) : void
Parameters
- $worker : Worker
Return values
void —start()
Run the chain of workers
public
start(mixed $data[, bool $rewrite_data = false ]) : Entity
Parameters
- $data : mixed
- $rewrite_data : bool = false