stk2k / collection-immutable
Immutable collection classes
0.1.0
2019-11-19 03:47 UTC
Requires
- php: >=7.1
- ext-json: *
- stk2k/collection: ~0.1
Requires (Dev)
- php-coveralls/php-coveralls: ^2.0
- phpunit/phpunit: ^6.3.0
This package is auto-updated.
Last update: 2024-12-19 15:40:15 UTC
README
Description
Immutable collection classes
Feature
Supported Data Structure
- ArrayList
- Collection
- Property(supports hierarchical access to array for string/int/float/bool values)
- Queue
- Set
- Stack
- Vector
Demo
Requirement
PHP 7.1 or later
Installing stk2k/collection-immutable
The recommended way to install stk2k/collection-immutable is through Composer.
composer require stk2k/collection-immutable
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
License
This library is licensed under the MIT license.
Author
Disclaimer
This software is no warranty.
We are not responsible for any results caused by the use of this software.
Please use the responsibility of the your self.