Pipeline

Pipeline

class Pipeline implements Pipeline (View source)

Methods

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.

Details

void __construct(Container $container = null)

Create a new class instance.

Parameters

Container $container

Return Value

void

$this send(mixed $passable)

Set the object being sent through the pipeline.

Parameters

mixed $passable

Return Value

$this

$this through(array|mixed $pipes)

Set the array of pipes.

Parameters

array|mixed $pipes

Return Value

$this

$this via(string $method)

Set the method to call on the pipes.

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/5.3/Illuminate/Pipeline/Pipeline.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部