src/Viserio/Component/Session/Store.php
public function save(): void
    {
        if (! $this->started) {
            return;
        }

        if ($this->shouldRegenerateId()) {
            $this->migrate(true);
        }

        $this->updateLastTrace();
        $this->ageFlashData();
        $this->writeToHandler();

        $this->values  = [];
        $this->started = false;
    }
public function save(): void
    {
        if (! $this->started) {
            return;
        }

        if ($this->shouldRegenerateId()) {
            $this->migrate(true);
        }

        $this->updateLastTrace();
        $this->ageFlashData();
        $this->writeToHandler();

        $this->values  = [];
        $this->started = false;
    }
{@inheritdoc}