This PR adds new parameter to Mapper() annotation to optionally turn off "Static mapping".
In our project, we usually have "statci helper methods" to map the inner fields of complex objects, but such methods are only for mapping. Without this feature, for each static method a new static $_method is generated which often is not needed and moreover, sometimes it leads to compile errors.
Breaking change: NO - as this parameter is by default set to true
This PR adds new parameter to Mapper() annotation to optionally turn off "Static mapping".
In our project, we usually have "statci helper methods" to map the inner fields of complex objects, but such methods are only for mapping. Without this feature, for each static method a new static $_method is generated which often is not needed and moreover, sometimes it leads to compile errors.
Breaking change: NO - as this parameter is by default set to true