src/Leevel/Http/Cookie.php
public function arrDelete(string $key, $keys, array $option = []): void
    {
        $arr = $this->get($key, [], $option);

        if (!is_array($keys)) {
            $keys = [
                $keys,
            ];
        }

        foreach ($keys as $tmp) {
            if (isset($arr[$tmp])) {
                unset($arr[$tmp]);
            }
        }

        $this->set($key, $arr, $option);
    }
public function arrDelete(string $key, $keys, array $option = []): void
    {
        $arr = $this->get($key, [], $option);

        if (!is_array($keys)) {
            $keys = [
                $keys,
            ];
        }

        foreach ($keys as $tmp) {
            if (isset($arr[$tmp])) {
                unset($arr[$tmp]);
            }
        }

        $this->set($key, $arr, $option);
    }
数组键值删除数据.

@param string $key
@param mixed  $keys