/** * Log the user out of the application. * * @return \Symfony\Component\HttpFoundation\Response */ public function getLogout() { $this->registrar->logout(); return ['message' => 'Logout successful']; }