承接 digipolisgent/value 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

digipolisgent/value

最新稳定版本:3.0.0

Composer 安装命令:

composer require digipolisgent/value

包简介

Package containing the interfaces and abstract implementations to support the usage of Value objects in packages and projects.

README 文档

README

Package containing the interfaces and abstract implementations to support the usage of Value objects in other packages and projects.

Latest Stable Version Total Downloads License

Build Status Maintainability Test Coverage PHP from Packagist

Usage

This package contains the following interfaces:

  • ValueInterface : the basic interface for all value objects.
  • ValueFromArrayInterface : extra interface that adds, to a value object, the static method to create it from an array of data.
  • ValueToArrayInterface : extra interface that adds, to a value object, the method to extract its data as an array.
  • CollectonInterface : the basic interface for a collection of values of the same type.

And the following abstract implementations:

  • ValueAbstract : Abstract implementation of the ValueInterface, implements only the sameValueTypeAs() method.
  • CollectionAbstract : Abstract implementation of the CollectonInterface, implements the method to compare two collections (sameValueAs()) and to get the collection as an iterator (getIterator()).

Install

Install the package:

composer require digipolisgent/value

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

Run the test suite:

vendor/bin/phpunit

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固