container->pageCacheManager->invalidateCaches(); $this->container->sessionManager->logout(); $this->container->cookieManager->setCookieParameter( CookieManager::STAY_SIGNED_IN, 'false', 0, $this->container->basePath . '/' ); return $this->redirect($response, '/'); } }