An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Object Library

[![Build Status](https://travis-ci.org/activecollab/object.svg?branch=master)](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.