PHP traits can contain abstract methods

PHP traits can contain abstract methods

💡Did you know you can write abstract methods in a trait?

This way you don't have to make assumptions about the models where the trait is used.

But instead, you have a clear contract:

We're writing a book, you can get it for free here.