Skip to content

Commit

Permalink
update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmerchant1990 committed May 13, 2020
1 parent f7c1549 commit 93800be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
7 changes: 0 additions & 7 deletions CHANGELOG.md

This file was deleted.

8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ $ composer require amitmerchant/array-utils
## Usage

```php
<?php

$mappedArray = ArrayUtils::getInstance()
->collect([1, 2, 3, 4])
->map(function($iteration) {
return $iteration * 2;
});

print_r($mappedArray);
/**
/*
Array
(
[0] => 2
Expand All @@ -37,10 +39,6 @@ Array
$ composer test
```

### Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
Expand Down

0 comments on commit 93800be

Please sign in to comment.