getUserInput(Integrations::INTEGRATIONS, [], UserInput::ARRAY, UserInput::STRING); } /** * @return void * @throws AjaxException * @throws IOException * @throws InvalidArgumentException */ public function execute(): void { $settings = Factory::getSettingsIntegrations(); if($this->isset(Integrations::INTEGRATIONS)) $settings->setIntegrations($this->_getIntegrationValues()); $settings->validateFields(); $settings->save(); $this->setResponseMessage('Saved Successfully'); $this->setResponseData($this->isCLI() ? $settings->getDisplayCLI() : $settings->getDisplay()); } }