DEV Community

Discussion on: Pipeline Pattern in Laravel

Collapse
 
rmoskal profile image
Robert Moskal

Certainly pipelines are nice. But in this example they are ruined by having to create two separate modules to implement the filters, rather then to just do it inline.

Collapse
 
abrardev99 profile image
Abrar Ahmad

I think you missed the post conclusion. Any here it is.

It might feel overwhelm to implement Pipelines just for two filters but it will be much clean and beneficial for large number of filter or any other complex implementation.

Collapse
 
abrardev99 profile image
Abrar Ahmad

Example here is just for basic understanding of Pipeline. I won't be implement Pipeline for just two filters.