php-clean-arch/value-object

There is no license information available for the latest version (0.3.0) of this package.

Provides the behaviour to expect from a value-object

Maintainers

Package info

github.com/php-clean-arch/value-object

pkg:composer/php-clean-arch/value-object

Statistics

Installs: 13

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

0.3.0 2021-12-11 22:11 UTC

This package is not auto-updated.

Last update: 2026-03-29 18:26:45 UTC


README

A value-object is a value wrapped inside a class, which does some validation logic (eg., mail address having a valid format).

Value-objects can only identified from their type and value they wrap, which means two instances of the same data may be equal, even if both objects have different references.