/** * Reset session if ResetOnEmptySubmit is set in config and gpvars are empty */ protected function resetOnEmptySubmit() { // We reset session data, if we want to have a reset on empty submit if ($this->configurationBuilder->buildBaseConfiguration()->getResetOnEmptySubmit()) { $this->sessionPersistenceManager->resetSessionDataOnEmptyGpVars($this->getPostVarsAdapterFactory->getInstance()); } }