Initial Drupal 11 with DDEV setup
This commit is contained in:
59
vendor/phootwork/collection/README.md
vendored
Normal file
59
vendor/phootwork/collection/README.md
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
# PHP Collections library
|
||||
|
||||

|
||||
[](https://scrutinizer-ci.com/g/phootwork/phootwork/?branch=master)
|
||||
[](https://scrutinizer-ci.com/g/phootwork/phootwork/?branch=master)
|
||||
[](https://packagist.org/packages/phootwork/collection)
|
||||
[](https://packagist.org/packages/phootwork/collection)
|
||||
[](https://packagist.org/packages/phootwork/collection)
|
||||
|
||||
PHP Collections library which contains ArrayList, Set, Map, Queue & Stack.
|
||||
|
||||
## Goals
|
||||
|
||||
- Provide collections for php
|
||||
- Inspired by java `java.util.Collection`
|
||||
- Functional sugar (map, filter, reduce, ...)
|
||||
|
||||
## Installation
|
||||
|
||||
Installation via composer:
|
||||
|
||||
```
|
||||
composer require phootwork/collection
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
[https://phootwork.github.io/collection](https://phootwork.github.io/collection)
|
||||
|
||||
## Running tests
|
||||
|
||||
This package is a part of the Phootwork library. In order to run the test suite, you have to download the full library.
|
||||
|
||||
```
|
||||
git clone https://github.com/phootwork/phootwork
|
||||
```
|
||||
Then install the dependencies via composer:
|
||||
|
||||
```
|
||||
composer install
|
||||
```
|
||||
Now, run the *collection* test suite:
|
||||
|
||||
```
|
||||
vendor/bin/phpunit --testsuite collection
|
||||
```
|
||||
If you want to run the whole library tests, simply run:
|
||||
|
||||
```
|
||||
vendor/bin/phpunit
|
||||
```
|
||||
|
||||
## Contact
|
||||
|
||||
Report issues at the github [Issue Tracker](https://github.com/phootwork/phootwork/issues).
|
||||
|
||||
## Changelog
|
||||
|
||||
Refer to [Releases](https://github.com/phootwork/phootwork/releases)
|
||||
Reference in New Issue
Block a user