fabrizio / map-php
Use map in PHP
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/fabrizio/map-php
Requires
- php: ^7.4|^8.0
Requires (Dev)
- monolog/monolog: ^2.3
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