Pipeline (Routing)
Pipeline
class Pipeline extends Pipeline (View source)
This extended pipeline catches any exceptions that occur during each slice.
The exceptions are converted to HTTP responses for proper middleware handling.
Methods
void | __construct(Container $container = null) Create a new class instance. | from Pipeline |
$this | send(mixed $passable) Set the object being sent through the pipeline. | from Pipeline |
$this | through(array|mixed $pipes) Set the array of pipes. | from Pipeline |
$this | via(string $method) Set the method to call on the pipes. | from Pipeline |
mixed | then(Closure $destination) Run the pipeline with a final destination callback. | from Pipeline |
Details
void __construct(Container $container = null)
Create a new class instance.
$this send(mixed $passable)
Set the object being sent through the pipeline.
$this through(array|mixed $pipes)
Set the array of pipes.
$this via(string $method)
Set the method to call on the pipes.
mixed then(Closure $destination)
Run the pipeline with a final destination callback.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Routing/Pipeline.html