Skip to content

Commit

Permalink
IHF: Readme info added.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Jul 26, 2016
1 parent 6c32391 commit 6d29450
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Provides Laravel-specific and pure PHP helper functions.
## Available functions
- [Array](#array)
- [array_except_value](#array_except_value)
- [Artisan](#artisan)
- [call_in_background](#call_in_background)
Expand All @@ -46,6 +49,25 @@ Provides Laravel-specific and pure PHP helper functions.
- [str_lower](#str_lower)
- [str_upper](#str_upper)
## Array
#### `array_except_value()`
Removes the given values from array:
```php
$array = ['foo', 'bar', 'baz'];
$array = array_except_value($array, 'baz');
// ['foo', 'bar']
```
```php
$array = ['foo', 'bar', 'baz'];
$array = array_except_value($array, ['bar', 'baz']);
// ['foo']
```
## Artisan
#### `call_in_background()`
Expand Down

0 comments on commit 6d29450

Please sign in to comment.