Support the ongoing development of Laravel.io →
Eloquent IOC Architecture
Last updated 8 months ago.
0

I have no idea why you made 3 user classes, that sounds crazy to me. My application has many different types of users (from administrative only to general users) and it is all in one user model. Besides that, if you wish to link one model to many models you can just create a manyToMany relationship in Laravel. I suggest you check out Laracast's website. Jeffrey has some great lessons on stuff like this.

Last updated 8 months ago.
0

Sign in to participate in this thread!

LoadForge

Your banner here too?

rasparac rasparac Joined 18 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.