Get all of the input except for a specified array of items.

@param  array  $keys
@return array
964673
public function except($keys = null)
    {
        $keys = is_array($keys) ? $keys : func_get_args();
        return array_except($this->params, $keys);
    }
817967
public function only($keys = [])
    {
        $keys = is_array($keys) ? $keys : func_get_args();

        $all = $this->all();

        $result = [];

        // now we will register keys to result variable,
        // each of variables must be exists, if they are not exists
        // null will be add to result
        foreach ($keys as $key) {
            $result[$key] = isset($all[$key]) ? $all[$key] : null;
        }

        return $result;

    }
124780
public static function allExcept(array $keys)
    {
        $sessions = static::all();

        if (!empty($keys))
        {
            foreach ($keys as $key) {
                unset($sessions[$key]);
            }
        }

        return $sessions;
    }
814143
function (keys) {
            keys = Array.isArray(keys) ? keys : {};

            return self.input.flash('except', keys);
        }
391857
public function except($keys): Collection
    {
        $keys = is_array($keys) ? $keys : func_get_args();
        return new static(ArrayHelper::except($this->items, $keys));
    }
1130547
public function deleteItems(array $keys)
    {
        $this->validateKeys($keys);

        $result = true;

        foreach ($keys as $key) {
            if (!$this->deleteItem($key)) {
                $result = false;
            }
        }

        return $result;
    }
36439
public function pick(array $keys) {
        $data = [];

        foreach ($keys as $key) {
            array_set($data, $key, $this->get($key));
        }

        return $data;
    }
837070
public function forgetMany(array $keys)
    {
        $this->connection()->del($this->prefixKeys($keys));

        return array_fill_keys($keys, true);
    }
13015
static public function except(array $input, $keys)
    {
        $keys = is_array($keys) ? $keys : array_slice(func_get_args(),1);

        foreach ($keys as $key) {
            unset($input[$key]);
        }

        return $input;
    }
390628
public function strip(array $keys) : Assoc
    {
        return $this->pipe(
            function (array $values) use ($keys) : array {
                foreach ($keys as $key) {
                    if (isset($values[$key])) {
                        unset($values[$key]);
                    }
                }

                return $values;
            }
        );
    }
1245833
public function except($keys)
    {
        $results = $this->items;
        foreach ((array)$keys as $key) {
            unset($results[$key]);
        }

        return new static($results);
    }
1362696
public function many(array $keys)
    {
        $normalizedKeys = [];

        foreach ($keys as $key => $value) {
            $normalizedKeys[] = is_string($key) ? $key : $value;
        }

        $values = $this->store->many($normalizedKeys);

        foreach ($values as $key => &$value) {
            if (is_null($value) || $value === false) {
                $this->fireCacheEvent('missed', [$key]);

                $value = isset($keys[$key]) ? value($keys[$key]) : null;
            } else {
                $this->fireCacheEvent('hit', [$key, $value]);
            }
        }

        return $values;
    }
1068031
public function allParamsFor(array $keys): array
    {
        $params = [];
        foreach ($keys as $key) {
            if (isset($this->params[$key])) {
                $params[$key] = $this->params[$key];
            }
        }

        return $params;
    }
252324
public function all( $keys = null ) {
		$input = array_replace_recursive( $this->input(), $this->all_files() );

		if ( ! $keys ) {
			return $input;
		}

		$results = [];

		foreach ( is_array( $keys ) ? $keys : func_get_args() as $key ) {
			Arr::set( $results, $key, Arr::get( $input, $key ) );
		}

		return $results;
	}
711239
public function unsetFilter($array, $keys) {
		if(is_array($array)) {
			if(!is_array($keys)) {
				$keys = array(
					$keys 
				);
			}
			foreach($keys as $key) {
				if(array_key_exists($key, $array)) {
					unset($array[$key]);
				}
			}
		}
		return $array;
	}
456694
public function forgetMany(array $keys)
    {
        if (! method_exists($this->store, 'forgetMany')) {
            return array_combine($keys, array_map([$this, 'forget'], $keys));
        }

        return $this->store->forgetMany($this->tagKeys($keys));
    }
299158
public function getParams(array $keys = null)
    {
        $params = $this->params;

        if ($keys) {
            $subset = [];
            foreach ($keys as $key) {
                if (array_key_exists($key, $params)) {
                    $subset[$key] = $params[$key];
                }
            }
            return $subset;
        }

        return $params;
    }