twindigital/deserializer-contracts 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

twindigital/deserializer-contracts

最新稳定版本:1.0.0

Composer 安装命令:

composer require twindigital/deserializer-contracts

包简介

README 文档

README

Contracts for deserializing input data.

A deserializer converts serialized data into objects.

Serialized input data is provided in the form of an array, either numeric or associative. It can come from various sources, be it a json document, a relational database or other source.

Deserializers can be configured and combined to transform one or more data schemas into specific types of object structures.

Modules that have some kind of data and need it transformed into some kind of object structure can simply request a Deserializer and focus on the task at hand. This makes the module easier to read, by not distracting with data formatting details, and more extensible: they can be provisioned with a new serializer to accept new formats without having to alter the module itself.

Installation

Install with composer require stratadox/deserializer-contracts

Why are there only interfaces in this package

This package exists to decouple the concept of a deserializer from its default implementation.

In this setup, projects that support some kind of deserialization can opt to depend only on a few interfaces, instead of having to always import the default serializer without actually using it.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-14