og-soft / php-value-objects
Value objects for PHP
1.1.1
2021-03-17 11:07 UTC
Requires
- php: >=7.4
- nesbot/carbon: ^2.42.0
Requires (Dev)
- phpunit/phpunit: ^9
README
PHP Value object for storing valid data.
Examples
- check
tests
dir
TODO
- add tests
- ignored attributes
- touched attributes
- interface
- Auto-generated OpenAPI
- Auto-generated TypeScripts objects
- yaml definition of ValueObjects
- parent (possibility to get parent object)
Changelog
-
2021-02-26
- ignored attributes
- touch (
setTouched
,isTouched
,getTouchedAll
) - add interface
ValueObjectInterface
- remove trait
- min request PHP 7.4
- check null
- root element
-
2021-03-17
- added
setOriginalValue
andgetOriginalValue
methods for get original value from init
- added