filmov
tv
Using the Pipeline helper in Laravel
![preview_player](https://i.ytimg.com/vi/9MX6ye0uzhk/maxresdefault.jpg)
Показать описание
Learn how to use the pipeline pattern in Laravel using the pipeline facade.
Essentially, the Pipeline class is a simple implementation of the pipeline pattern in PHP. It’s a great way to chain multiple callbacks together and pass the result of one callback to the next callback in a sequential manner.
00:00 Introduction to Pipelines
00:13 Pipelines in General
00:40 Processing Input Sequentially
01:07 Creating Slug with Pipeline
02:14 Defining Callback Functions
03:43 Chain of Two Callbacks
04:26 Outputting Processed Data
05:24 Using Invokable Classes
06:51 Refactoring with Invokable Classes
07:42 Laravel's Pipeline Helper
08:03 Closing Remarks
#Laravel #Pipeline #PHP
Essentially, the Pipeline class is a simple implementation of the pipeline pattern in PHP. It’s a great way to chain multiple callbacks together and pass the result of one callback to the next callback in a sequential manner.
00:00 Introduction to Pipelines
00:13 Pipelines in General
00:40 Processing Input Sequentially
01:07 Creating Slug with Pipeline
02:14 Defining Callback Functions
03:43 Chain of Two Callbacks
04:26 Outputting Processed Data
05:24 Using Invokable Classes
06:51 Refactoring with Invokable Classes
07:42 Laravel's Pipeline Helper
08:03 Closing Remarks
#Laravel #Pipeline #PHP