EventSaucePHP / ObjectHydrator

Object Hydration library to create Command and Query objects.
MIT License
316 stars 23 forks source link

Append internal hydration and serialization methods with a number in case of a class name collision #37

Closed WyriHaximus closed 1 year ago

WyriHaximus commented 1 year ago

Came across this while generation an object mapper for a project with the following two classes in it:

frankdejonge commented 1 year ago

What if we replace \\ with ⚡️ instead of an empty string? 😏

frankdejonge commented 1 year ago

The alternative fix was released as 1.1.2

WyriHaximus commented 1 year ago

Hah perfect :zap: !