Wrapped new instance in closure in hydrate method so a new instance isn't generated on every entity retrieval.
Wrapped new instance in closure in hydrate method so a new instance isn't generated on every entity retrieval.

spira/api-core