Pipeline
in
Table of Contents
- send() : $this
- Set the traveler object being sent on the pipeline.
- then() : mixed
- Run the pipeline with a final destination callback.
- through() : $this
- Set the stops of the pipeline.
- via() : $this
- Set the method to call on the stops.
Methods
send()
Set the traveler object being sent on the pipeline.
public
send(mixed $traveler) : $this
Parameters
- $traveler : mixed
Return values
$this —then()
Run the pipeline with a final destination callback.
public
then(Closure $destination) : mixed
Parameters
- $destination : Closure
Return values
mixed —through()
Set the stops of the pipeline.
public
through(dynamic|array<string|int, mixed> $stops) : $this
Parameters
- $stops : dynamic|array<string|int, mixed>
Return values
$this —via()
Set the method to call on the stops.
public
via(string $method) : $this
Parameters
- $method : string