Laravel Eloquent: Repeating Relationships Reusable in Traits
If multiple Eloquent models in your project have the same identical relationship methods, like `createdBy()`, for example, you may extract them in a reusable structure. We will show you an example with Traits.