interface Pipeline (View source)

Methods

$this
send(mixed $traveler)

Set the traveler object being sent on the pipeline.

$this
through(dynamic|array $stops)

Set the stops of the pipeline.

$this
via(string $method)

Set the method to call on the stops.

mixed
then(Closure $destination)

Run the pipeline with a final destination callback.

Details

$this send(mixed $traveler)

Set the traveler object being sent on the pipeline.

Parameters

mixed $traveler

Return Value

$this

$this through(dynamic|array $stops)

Set the stops of the pipeline.

Parameters

dynamic|array $stops

Return Value

$this

$this via(string $method)

Set the method to call on the stops.

Parameters

string $method

Return Value

$this

mixed then(Closure $destination)

Run the pipeline with a final destination callback.

Parameters

Closure $destination

Return Value

mixed