src/Leevel/Session/Session.php
public function delete(string $name): void
    {
        $name = $this->getNormalizeName($name);

        if (isset($this->datas[$name])) {
            unset($this->datas[$name]);
        }
    }
public function delete(string $name): void
    {
        $name = $this->getNormalizeName($name);

        if (isset($this->datas[$name])) {
            unset($this->datas[$name]);
        }
    }
删除 session.

@param string $name