This package provides a collection of common value objects with Doctrine integration.
Install the package via Composer:
composer require netlogix/value-object
In order to use a value object with Doctrine, it must implement the PersistableValueObject
interface. For this purpose, the value object can, for example, inherit from the abstract classes for common value objects or implement the interface directly.
The initial implementation of the type registration with Doctrine was inspired by upscale/doctrine-value-object-bundle.