Pipeline implements PipelineInterface
FinalYes
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- __invoke() : mixed
- pipe() : PipelineInterface
- process() : mixed
Properties
$procesor
private
Processor|null
$procesor
= null
$stages
private
array<string|int, callable>
$stages
Methods
__construct()
public
__construct([Processor|null $procesor = null ], callable ...$stages) : mixed
Parameters
- $procesor : Processor|null = null
- $stages : callable
__invoke()
public
__invoke(mixed $payload) : mixed
Parameters
- $payload : mixed
pipe()
public
pipe(callable $stage) : PipelineInterface
Parameters
- $stage : callable
Return values
PipelineInterfaceprocess()
public
process(mixed $payload) : mixed
Parameters
- $payload : mixed