public function destroyWithCookie(): ?bool
    {
        if ($this->isStarted()) {
            $this->destroy();
            return setcookie($this->getName(), '', time() - 1, '/');
        }
        return null;
    }