Repository navigation
Pipeline Helper Function #46170
Replies: 4 comments 1 reply
|
I think that the helper should return the The pipe(...)->thenReturn()Especially because the user may want to return something other than the passable. pipe(...)->then(...) |
1 reply
|
Just to be complete here: there is already a package solving this and more. https://github.com/michael-rubel/laravel-enhanced-pipeline |
0 replies
|
There's no plan to add more helpers at the moment you can already do the following: app('pipeline')->send($payload)...
// or
use Illuminate\Support\Facades\Pipeline;
Pipeline::send($payload)... |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Pipelines are quite powerful in Laravel. GIven how quick one may wish to utilize this feature I would like to propose the following helper:
All reactions