mark-gerarts / automapper-plus

An AutoMapper for PHP
MIT License
551 stars 30 forks source link

Add possibility, to use mapping of parent classes Fixes #9 #21

Closed mschop closed 6 years ago

mschop commented 6 years ago

@mark-gerarts This is an untested suggestion for issue #9 . Feel free to adopt it to your needs (my time is a little limited right now).

mark-gerarts commented 6 years ago

Hi @mschop, thanks for your effort, especially since you're short on time! Your solution seems to work without any problems. I added some basic tests and refactored the code a bit, so it's ready to be merged. Thanks again!