fabrizio/map-php
Composer 安装命令:
composer require fabrizio/map-php
包简介
Use map in PHP
README 文档
README
Installation
Install the latest version with
$ composer require fabrizio/map-php
Basic Usage
<?php use Fabrizio\Map\Map; // create map $map = new Map(xClass::class, OtherClass::class); $xclass = new xClass(); $oclass = new OtherClass(); // put key & value $map->put($xclass,$oclass); // get value using key var_dump($map->get($xclass));
Author
@F4brizio - f4brizio.21@gmail.com
License
Monolog is licensed under the MIT License - see the LICENSE file for details
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-20