thephpleague / factory-muffin

Enables the rapid creation of objects for testing
https://factory-muffin.thephpleague.com/
MIT License
531 stars 72 forks source link

Allow callback to determine if a second persist is needed #353

Closed jonsa closed 9 years ago

jonsa commented 9 years ago

As requested in #350

I based this on 2.1 since it doesn't break any current functionality

GrahamCampbell commented 9 years ago

Please send this to 3.0. There would have been a 2.2 release for non-breaking features, but I canceled it because there wasn't enough to do.

NB - Patch releases are for bug fixes only and minor releases are for things like this, but the next release is major, so this will have to go into 3.0.