refactoring routing and comments.
This commit is contained in:
@@ -117,6 +117,8 @@ class Arr {
|
||||
*/
|
||||
public static function without($array, $without = array())
|
||||
{
|
||||
$without = (array) $without;
|
||||
|
||||
foreach ((array) $array as $key => $value)
|
||||
{
|
||||
if (in_array($value, $without)) unset($array[$key]);
|
||||
|
||||
Reference in New Issue
Block a user