netlogix/value-object

A collection of common value objects with Doctrine integration

Installs: 135

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-main 2024-11-08 09:38 UTC

README

This package provides a collection of common value objects with Doctrine integration.

Installation

Install the package via Composer:

composer require netlogix/value-object

Usage

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.

Acknowledgements

The initial implementation of the type registration with Doctrine was inspired by upscale/doctrine-value-object-bundle.