src/Viserio/Component/Session/SessionManager.php
protected function buildEncryptedSession(SessionHandlerInterface $handler): StoreContract
    {
        return new EncryptedStore(
            $this->resolvedOptions['cookie']['name'],
            $handler,
            $this->key
        );
    }
protected function buildEncryptedSession(SessionHandlerInterface $handler): StoreContract
    {
        return new EncryptedStore(
            $this->resolvedOptions['cookie']['name'],
            $handler,
            $this->key
        );
    }
Build the encrypted session instance.

@param \SessionHandlerInterface $handler

@return \Viserio\Component\Contract\Session\Store