eboreum/value-object-interface
Composer 安装命令:
composer require eboreum/value-object-interface
包简介
Flag a class as a value-object by implementing the ValueObjectInterface.
关键字:
README 文档
README

Implement Eboreum\ValueObjectInterface\ValueObjectInterface on any class to flag it as a value-object.
A value-object should never cause any side effects. For instance, a value-object should not cause database writes, cause network requests, cause logging, or similar things.
Requirements
"php": "^8.0"
Installation
Via Composer (https://packagist.org/packages/eboreum/value-object-interface):
composer require eboreum/value-object-interface
Via GitLab:
git clone git@gitlab.com:eboreum/value-object-interface.git
License & Disclaimer
See LICENSE file. Basically: Use this library at your own risk.
Contributing
We prefer that you create an issue and or a merge request at https://gitlab.com/eboreum/value-object-interface, and have a discussion about a feature or bug here.
Credits
Authors
- Kasper Søfren (kafoso)
E-mail: soefritz@gmail.com
Homepage: https://gitlab.com/kafoso / https://github.com/kafoso
Acknowledgements
This library is largely inspired by PSR-20: Clock, which in a similar fashion defines just a single interface. Also see https://packagist.org/packages/psr/clock.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-16