thephpleague / factory-muffin

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

Hydration strategies #451

Open floriandammeyer opened 6 years ago

floriandammeyer commented 6 years ago

I have implemented #434 to allow consumers of FactoryMuffin to configure the hydration of their model classes in higher detail, because not everybody is using public setters or public properties. I updated the docs accordingly and also implemented some tests.

The behavior of FactoryMuffin stayed the same if you don't use strategies explicitly, so this feature should be backwards compatible.

0s1r1s commented 6 years ago

Any chance this gets merged?

floriandammeyer commented 6 years ago

@0s1r1s I'm afraid the maintainers will take their time, judging by the latest activity in the repository