Bootable traits in Laravel

1 episode 6 mins

Overview

If you need to register something within the boot() method of a model, here's a quick tip to do this within a trait if needed.

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Episodes

0%
Your progress
  • Total: 6m
  • Played: 0m
  • Remaining: 6m