The map is configurable by the end user, so they can add their own map of fields to faker.
I think we might want to make it more customizable, so that you can also pass params.
Otherwise, we can also use literals, and always verbosely add the full faker method call in to the map.
Smart model display field behavior could also be put into the configure map, maybe using _displayField as key.
This way people can also add their own there.
Resolving https://github.com/vierge-noire/cakephp-fixture-factories/issues/241
The map is configurable by the end user, so they can add their own map of fields to faker. I think we might want to make it more customizable, so that you can also pass params. Otherwise, we can also use literals, and always verbosely add the full faker method call in to the map.
Smart model display field behavior could also be put into the configure map, maybe using _displayField as key. This way people can also add their own there.
In my case it created
as those fields need to be filled (not null).