Papper
Papper copied to clipboard
Papper is PHP convention-based object to object mapper.
Hi. I wanted to map one class to another with protected properties, say: UserA::$firstName to UserB::$givenName. ``` php Papper::createMap('UserA', 'UserB')->forMember('givenName', new MapFrom('firstName')); ``` But i've got exception saying "Unable to...
It would be nice to have some documentation here since I see potential in this library but using it in the dark is a pain.
Hey, love what you're doing with this class! Was wondering if there is a way to map from StdClass to Object. I see that we can go from Object to...