Closed Ricky-rick closed 4 years ago
I have some models in my project that will be populated by a Api. These models don't have a save function. For that reason i use the 'instance' method to generate a model. But there is no method to seed with te instance function.
How does https://github.com/thephpleague/factory-muffin/pull/437 look?
Great! This works for me.
Is there another method like new for just building a new model without persisting it?
new
I have some models in my project that will be populated by a Api. These models don't have a save function. For that reason i use the 'instance' method to generate a model. But there is no method to seed with te instance function.