https://github.com/activecollab/object
Object interface lets us identify and compare objects
https://github.com/activecollab/object
Last synced: about 1 year ago
JSON representation
Object interface lets us identify and compare objects
- Host: GitHub
- URL: https://github.com/activecollab/object
- Owner: activecollab
- License: mit
- Created: 2016-07-14T19:56:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-14T20:14:26.000Z (almost 10 years ago)
- Last Synced: 2025-03-30T13:03:29.000Z (about 1 year ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Object Library
[](https://travis-ci.org/activecollab/object)
`ActiveCollab\Object\ObjectInterface` interface defines methods that we can use to identify and compare objects:
1. `getId()`
1. `is()`
We extracted it in a package when we got a situation when we had these methods specified in more than two places, as parts of different interfaces.