hurah/data-types
最新稳定版本:v1.1.4
Composer 安装命令:
composer require hurah/data-types
包简介
Collection of general purpose data types, corresponding collections, validators, utilities and some control statements represented by objects to allow more strict type checking
README 文档
README
A growing set of general purpose data types and corresponding collections. This project is not intended as a "one size fits all" standards based library. It is mostly meant to be an ever-growing collection of datatypes and methods for casting and converting to promote interoperability between the systems that I create.All types are enforced to at least implement __toString so while implementing data-types exisiting code usually keeps working.
OOP style conditions and loops
As an experiment I have added an oop style interface for conditions and loops. My usecase for this is a graphical / low code style system that uses a lot of generated code that i want as strongly typed as possible so "context aware" features can be implemented.
Collections
Many of the data-types come with a Collection version of the type, for instance a Path and a PathCollection,
the Collections are implementing an Iterator and allow strongly typed loops.
统计信息
- 总下载量: 3.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 9
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-05