DEV Community 👩‍💻👨‍💻

usman  arshad
usman arshad

Posted on

laravel

How can we use factory pattern in laravel or php without using switch or if/else statements?

Top comments (0)

Get a better DEV experience!

Sign in to your DEV account for a more curated experience.

You're welcome to keep lurking, but the signed in experience is more delightful.