protected function savePresets(array $presets, $logMessage)
    {
        $this->driverComposite->setFileContent(
            $this->settings['repositoryUrl'],
            $this->settings['filePath'],
            json_encode($presets, JSON_PRETTY_PRINT),
            '[SURFCAPTAIN] ' . $logMessage
        );
        $this->presets = null;
    }
protected function savePresets(array $presets, $logMessage)
    {
        $this->driverComposite->setFileContent(
            $this->settings['repositoryUrl'],
            $this->settings['filePath'],
            json_encode($presets, JSON_PRETTY_PRINT),
            '[SURFCAPTAIN] ' . $logMessage
        );
        $this->presets = null;
    }
protected function savePresets ( array $ presets , $ logMessage ) { $ this -> driverComposite -> setFileContent ( $ this -> settings [ 'repositoryUrl' ] , $ this -> settings [ 'filePath' ] , json_encode ( $ presets , JSON_PRETTY_PRINT ) , '[SURFCAPTAIN] ' . $ logMessage ) ; $ this -> presets = null ; }
Saves the presets.

@param array $presets
@param string $logMessage
@return void
Saves the presets .