Browse Laravel Laravel 6 From Scratch Episode 27 - Reduce Duplication
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.
Your next technique is to reduce duplication. If you review our currentArticlesController, we reference request keys in multiple places. Now as it turns out, there's a useful way to reduce this repetition considerably.
ArticlesController
Published on Oct 9th, 2019.
There's no shortage of content at Laracasts. In fact, you could watch nonstop for days upon days, and still not see everything!
Get Started