Chris@0: id() ?: session_id(); Chris@0: } Chris@0: Chris@0: // Store the data for this collection in the database. Chris@0: $storage = $this->storageFactory->get("user.shared_tempstore.$collection"); Chris@0: return new SharedTempStore($storage, $this->lockBackend, $owner, $this->requestStack, $this->expire); Chris@0: } Chris@0: Chris@0: }