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
0.3.0
2021-12-11 22:11 UTC
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2025-07-06 14:25:32 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.