/**
* Save the configuration file
*
* @param array $options Options array
*
* @return boolean
*
* @since 4.0.0
*/
public function saveConfiguration($options) : bool
{
$app = $this->getApplication();
// Check db connection encryption properties
$model = $app->bootComponent('com_config')->getMVCFactory($app)->createModel('Application', 'Administrator');
if (!$model->save($options)) {
$this->ioStyle->error(Text::_('Failed to save properties'));
return false;
}
return true;
}