定制 dhii/data-object-abstract 二次开发

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

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

dhii/data-object-abstract

最新稳定版本:v0.1-alpha1

Composer 安装命令:

composer require dhii/data-object-abstract

包简介

Abstract common functionality for data objects

README 文档

README

Build Status Code Climate Test Coverage Latest Stable Version This package complies with Dhii standards

Details

This package contains abstract functionality for data objects. Data objects are objects that can contain, and optionally manipulate, some internal data. The implementations in this package are based on containers, which means that anything returned by _normalizeContainer can have a data object based on it. Another advantage of this implementation is that a data key can be anything that passes normalization by normalizeString(). All this makes this package an excellent base for flexible, extensible data objects.

Important Notice: While the traits that access the internal store can work with any container, the _getDataStore() method used by them MUST return an object for the methods that write to the store to have an effect. This is to avoid having to use references, which would complicate the code and make it more error-prone, and less optimized.

Traits

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-10-28