thephpleague / factory-muffin

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

Even more flexibility when defining group definitions #356

Closed GrahamCampbell closed 9 years ago

GrahamCampbell commented 9 years ago

When someone wants to define a group definition, they are now given a clone of the original model definition to work with allowing them to modify the original callback and attributes easily. This also means if they don't explicitly set a callback for the group, we're still executing the original one.