cakephp-fixture-factories
cakephp-fixture-factories copied to clipboard
v3.1 get result set
In v3.1, we want to introduce the:
-
getPersistedResultSet
-
getResultSet
methods: These will return a result set , that is a collection of entities, and are bound to replace in v4 the getEntity
, getEntities
and persist
methods.
In addition, we introduce the SelectQueryMocker
that will mock the reponse of a select query on a given factory's table. Check the doc in the associated PR.
Please share your thoughts on this new approach, the method names, etc.
This will be a major improvement of the plugin, I am really looking forward to it!