Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 683 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 683 Bytes

php-value-objects

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 and getOriginalValue methods for get original value from init