Relative Content

Tag Archive for phplaraveleloquent

Laravel morph map not working with extended models

I’m using Laravel’s polymorphic relationships with a morph map to relate different models to a single table. However, I’m encountering an issue where only the first model in the morph map works, while the rest are ignored.