[TASK] Split ColumnMapFactory off of DataMapFactory
This change splits off the creation of column maps in the DataFactory class into its own ColumnMapFactory class. Benefits are: - clear distinction of responsibilities - better testability - easier to understand for readers Releases: main Resolves: #100235 Change-Id: Iaa2cbaa1ad8498edc90adf3d90c97712b7ca62aa Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78186 Tested-by:Markus Klein <markus.klein@typo3.org> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/ColumnMapFactory.php 270 additions, 0 deletions...e/Classes/Persistence/Generic/Mapper/ColumnMapFactory.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php 10 additions, 245 deletions...ase/Classes/Persistence/Generic/Mapper/DataMapFactory.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/ColumnMapFactoryTest.php 425 additions, 0 deletions.../Unit/Persistence/Generic/Mapper/ColumnMapFactoryTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php 0 additions, 420 deletions...ts/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php 19 additions, 11 deletions.../Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php
Please register or sign in to comment