src/Viserio/Component/Session/Store.php
public function migrate(bool $destroy = false): bool
    {
        if ($destroy) {
            $this->handler->destroy($this->id);
        }

        $this->id                = $this->generateSessionId();
        $this->regenerationTrace = $this->getTimestamp();
        $this->requestsCount     = 0;

        return true;
    }
public function migrate(bool $destroy = false): bool
    {
        if ($destroy) {
            $this->handler->destroy($this->id);
        }

        $this->id                = $this->generateSessionId();
        $this->regenerationTrace = $this->getTimestamp();
        $this->requestsCount     = 0;

        return true;
    }
{@inheritdoc}