Пример #1
0
 /**
  * Get all of the given array except for a specified array of items.
  *
  * @param array        $array
  * @param array|string $keys
  *
  * @return array
  *
  * @author Krisan Alfa Timur <*****@*****.**>
  */
 function array_except($array, $keys)
 {
     return Arr::except($array, $keys);
 }
Пример #2
0
 /**
  * Get a list of array except the given array of index.
  *
  * @param array $attributes List of array keys you want to exclude from your array.
  *
  * @see Arr::except()
  *
  * @return array
  */
 public function except(array $attributes)
 {
     return Arr::except($this->attributes, $attributes);
 }