定制 f500/equatable 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

f500/equatable

最新稳定版本:v1.3.0

Composer 安装命令:

composer require f500/equatable

包简介

Equatable objects and collections in PHP

README 文档

README

Build Status Code Coverage Scrutinizer Code Quality

Equatable objects and collections in PHP.

We reach a limitation in PHP when we want to compare objects in such a way that == yields incorrect results. We often overcome this limitation by implementing a method like equals($other) encapsulating our specialized behaviour. This library provides an interface for this.

We hit secondary problems when we try to work with these objects, especially when dealing with arrays of them. Functions like in_array() and array_search() don't use our specialized equals() method, so they in turn yield incorrect results. To overcome these problems, this library provides a map (ordered dictionary-style collection) and a vector (stack-like collection). These are immutable and final, meant to replace normal arrays.

Authored by Jasper N. Brouwer.

Under the collective flag of Future500 B.V.

Installation

composer.phar require f500/equatable

License

The MIT License (MIT)

统计信息

  • 总下载量: 8.9k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固