mslwk/php-typesafe-array
最新稳定版本:2.1.2
Composer 安装命令:
composer require mslwk/php-typesafe-array
包简介
Library for type-safe array handling in PHP
README 文档
README
PHP type-safe array
This library was designed to provide you with a way of creating type-safe array-like classes.
The MSlwk\TypeSafeArray\ObjectArray allows you to:
- pass the desired type via constructor (all added objects will be validated against it)
- use the array object like an array (array accessors, foreach support)
- use defined methods to operate
There is also a factory class for ObjectArray class instances creation.
Installation
Use composer to install the library
composer require mslwk/php-typesafe-array
Changelog
See changelog here.
Authors
License
This project is licensed under the MIT License - see the LICENSE file for details
统计信息
- 总下载量: 21.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-10