public function has($key)
    {
        $keys = is_array($key) ? $key : func_get_args();

        $input = $this->all();

        foreach ($keys as $value) {
            if (! Arr::has($input, $value)) {
                return false;
            }
        }

        return true;
    }
public function has($key)
    {
        $keys = is_array($key) ? $key : func_get_args();

        $input = $this->all();

        foreach ($keys as $value) {
            if (! Arr::has($input, $value)) {
                return false;
            }
        }

        return true;
    }
public function has ( $ key ) { $ keys = is_array ( $ key ) ? $ key : func_get_args ( ) ; $ input = $ this -> all ( ) ; foreach ( $ keys as $ value ) { if ( ! Arr :: has ( $ input , $ value ) ) { return false ; } } return true ; }
Determine if the request contains a given input item key.

@param  string|array  $key
@return bool
Determine if the request contains a given input item key .