src/Viserio/Component/Session/Store.php
private function writeToHandler(): void
    {
        $values = $this->values;

        $values[self::METADATA_NAMESPACE] = [
            'firstTrace'        => $this->firstTrace,
            'lastTrace'         => $this->lastTrace,
            'regenerationTrace' => $this->regenerationTrace,
            'requestsCount'     => $this->requestsCount,
            'fingerprint'       => $this->fingerprint,
        ];

        $value = \json_encode($values, \JSON_PRESERVE_ZERO_FRACTION);

        $this->handler->write(
            $this->id,
            $this->prepareForWriteToHandler($value)
        );
    }
private function writeToHandler(): void
    {
        $values = $this->values;

        $values[self::METADATA_NAMESPACE] = [
            'firstTrace'        => $this->firstTrace,
            'lastTrace'         => $this->lastTrace,
            'regenerationTrace' => $this->regenerationTrace,
            'requestsCount'     => $this->requestsCount,
            'fingerprint'       => $this->fingerprint,
        ];

        $value = \json_encode($values, \JSON_PRESERVE_ZERO_FRACTION);

        $this->handler->write(
            $this->id,
            $this->prepareForWriteToHandler($value)
        );
    }
Write values to handler.

@return void