snippet

Refactoring chained where methods in Laravel

If you're chaining where methods when building queries with Eloquent, check out this simple refactoring tip.

Watch this snippet

1. Refactoring chained where methods in Laravel

02:58
  • 2 mins
  • Released 3 months ago