Skip to content

Minor BC break

Compare
Choose a tag to compare
@mindplay-dk mindplay-dk released this 21 Jun 11:31
· 76 commits to master since this release

The Connection::fetch() method no longer includes the $mappers argument, as this feature overlapped with the Mappers trait and MapperProvider interface.

Mappers are highly query-specific and completely dependent on the returned data, the order in which mappers are being applied, and so on.

To upgrade, apply your mappers to your query object (map() method) rather than in your call to Connection::fetch().