dhii / data-key-value-aware-interface
Interfaces that aim to increase interoperability of value objects
Installs: 17 020
Dependents: 10
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
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: 2024-11-07 03:31:38 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.