dhii / data-key-value-aware-interface
Interfaces that aim to increase interoperability of value objects
Package info
github.com/Dhii/data-key-value-aware-interface
pkg:composer/dhii/data-key-value-aware-interface
v0.2-alpha2
2018-02-11 12:52 UTC
Requires
- php: ^5.3 | ^7.0
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/php-cs-fixer-config: dev-php-5.3
- dhii/stringable-interface: ^0.1
- phpunit/phpunit: 4.*
- ptrofimov/xpmock: ^1.1
This package is auto-updated.
Last update: 2026-03-07 06:57:01 UTC
README
Increase interoperability of value objects by depending on this package.
Interfaces
KeyAwareInterface- Exposes a key, which can be a string, Stringable, ornull.ValueAwareInterface- Exposes a value, which can be of any type.KeyValueAwareInterface- Something that exposes both a key and a value.NameAwareInterface- Something that is aware of a name, which is a narrow domain identifier.