Open utterances-bot opened 3 months ago
Factories for these models are a bit trickier to implement than the standard ones.
https://arkadiuszchmura.com/posts/how-to-create-factories-for-models-with-polymorphic-relationships-in-laravel/
polymorphic relationships can be intimidating but was helpful! concise and with a basic example just like mine, thank you :-D
How to create factories for models with polymorphic relationships in Laravel | Arkadiusz Chmura
Factories for these models are a bit trickier to implement than the standard ones.
https://arkadiuszchmura.com/posts/how-to-create-factories-for-models-with-polymorphic-relationships-in-laravel/