config = $config; } /** * @param string */ public function save(string $changePasswordUrl, string $descriptionText, string $buttonText): JSONResponse { $this->config->setAppValue('externalpassword', 'changePasswordUrl', $changePasswordUrl); $this->config->setAppValue('externalpassword', 'descriptionText', $descriptionText); $this->config->setAppValue('externalpassword', 'buttonText', $buttonText); $parameters = [ 'changePasswordUrl' => $changePasswordUrl, 'descriptionText' => $descriptionText, 'buttonText' => $buttonText ]; return new JSONResponse($parameters); } }