Myvideo

Guest

Login

The first thing you should do when starting any new Laravel app

Uploaded By: Myvideo
6 views
0
0 votes
0

Laravel provides a Model::shouldBeStrict() method that will throw an exception when any of the following happens: 1. When you attempt to lazy load relationships (preventing N 1 query issues) 2. Prevents Silently Discarding Attributes 3. Prevents Accessing Missing Attributes on your models It's simple yet powerful and great way to keep your code in check as you build out a new project. ---------------------------------------------------------------------- JOIN OUR WEEKLY LARAVEL NEWSLETTER ----------------------------------------------------------------------

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later