Hub (Pipeline)
Hub
class Hub implements Hub (View source)
Methods
void | __construct( Container $container) Create a new Depot instance. | |
void | defaults( Closure $callback) Define the default named pipeline. | |
void | pipeline( string $name, Closure $callback) Define a new named pipeline. | |
mixed | pipe( mixed $object, string|null $pipeline = null) Send an object through one of the available pipelines. |
Details
void __construct( Container $container)
Create a new Depot instance.
void defaults( Closure $callback)
Define the default named pipeline.
void pipeline( string $name, Closure $callback)
Define a new named pipeline.
mixed pipe( mixed $object, string|null $pipeline = null)
Send an object through one of the available pipelines.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Pipeline/Hub.html