Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Aug. 18th 2015

Exceptions Are Like Bodyguards

Run Time 18:08

Download

In this video, we'll learn about treating exceptions as bodyguards for your model. We'll leverage TDD, using PHPUnit, to build up the basic concept of a team, consisting of members. As we'll find, though, certain rules have been put in place, which we must give consideration to.