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(...) |
Beta Was this translation helpful? Give feedback.
-
Just to be complete here: there is already a package solving this and more. https://github.com/michael-rubel/laravel-enhanced-pipeline |
Beta Was this translation helpful? Give feedback.
-
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)... |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #43429 |
Beta Was this translation helpful? Give feedback.
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:
Beta Was this translation helpful? Give feedback.
All reactions