Closed dajnz closed 5 years ago
This is not possible yet, but having control on the attributes/properties name when hydrating/dehydrating entities would be a really good feature. I'd gladly accept a PR regarding this.
I made a PR [#275] that make this possible @RemiCollin can you take a look at it when possible?
Thanks 😃
@dajnz This is now possible if you set $camelCaseHydratation
to true on the entity map just like :
protected $camelCaseHydratation = true;
Late, but hope this help you.
Is this auto mapping between names possible?