Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow "static" return type for constructor methods
The constructor methods for value objects (for example `fromArray()`) are considered by the `ValueObjectNormalizer` when events are unserialized from the event store. However, if a `fromArray()` method is declared with a `static` return type, the method is not considered by the normalizer. This change adds support for those constructors.
- Loading branch information