Skip to content

Lazily instantiate nullable typed-object properties in fromArray()

Choose a tag to compare

@brianlmoon brianlmoon released this 13 Aug 16:09
· 2 commits to main since this release
5775b14

Removes the requirement to eagerly initialize nested ValueObject properties in __construct() when they are nullable; fromArray() now creates the instance on demand based on the property's declared type.