uptodown/equalable
最新稳定版本:v1.0.1
Composer 安装命令:
composer require uptodown/equalable
包简介
An interface for checking equal objects
README 文档
README
An interface for checking equal objects
Installation
To install it with composer:
composer require uptodown/equalable
Simple usage
The object:
use Uptodown\EqualableInterface\Equalable;
class NewObject implements Equalable
{
public function equals($object)
{
return /* equal condition */;
}
}
The usage:
if ($newObject->equals($otherNewObject)) {
// do something
}
统计信息
- 总下载量: 23.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-29