W3cubDocs

/Laravel 8

Pipeline

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Contracts/Pipeline/Pipeline.html