Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Sep 17, 2016
2 parents 08d6e71 + ced204a commit 011e4fc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Arr/Arr.php
Expand Up @@ -1168,6 +1168,21 @@ public static function except(array $array, $keys): array
return $array;
}

/**
* Get all of the given array except for a specified array of items.
*
* @param array $array
* @param array|string $keys
*
* @return array
*/
public static function except(array $array, $keys): array
{
static::forget($array, $keys);

return $array;
}

/**
* Return the default value of the given value.
*
Expand Down

0 comments on commit 011e4fc

Please sign in to comment.