concrete/src/Install/InstallerOptions.php
public function save()
    {
        $render = new Renderer($this->configuration);
        $siteInstall = $render->render();
        $render = new Renderer([
            'userEmail' => $this->getUserEmail(),
            'userPasswordHash' => $this->getUserPasswordHash(),
            'startingPointHandle' => $this->getStartingPointHandle(),
            'siteName' => $this->getSiteName(),
            'siteLocaleId' => $this->getSiteLocaleId(),
            'uiLocaleId' => $this->getUiLocaleId(),
            'serverTimeZone' => $this->getServerTimeZoneId(),
            'privacyPolicy' => $this->isPrivacyPolicyAccepted()
        ]);
        $siteInstallUser = $render->render();
        if (@$this->filesystem->put(DIR_CONFIG_SITE . '/site_install.php', $siteInstall) === false) {
            throw new UserMessageException(t('Failed to write to file %s', DIRNAME_APPLICATION . '/' . DIRNAME_CONFIG . '/site_install.php'));
        }
        OpCache::clear(DIR_CONFIG_SITE . '/site_install_user.php');
        if (@$this->filesystem->put(DIR_CONFIG_SITE . '/site_install_user.php', $siteInstallUser) === false) {
            throw new UserMessageException(t('Failed to write to file %s', DIRNAME_APPLICATION . '/' . DIRNAME_CONFIG . '/site_install_user.php'));
        }
        OpCache::clear(DIR_CONFIG_SITE . '/site_install_user.php');
    }
public function save()
    {
        $render = new Renderer($this->configuration);
        $siteInstall = $render->render();
        $render = new Renderer([
            'userEmail' => $this->getUserEmail(),
            'userPasswordHash' => $this->getUserPasswordHash(),
            'startingPointHandle' => $this->getStartingPointHandle(),
            'siteName' => $this->getSiteName(),
            'siteLocaleId' => $this->getSiteLocaleId(),
            'uiLocaleId' => $this->getUiLocaleId(),
            'serverTimeZone' => $this->getServerTimeZoneId(),
            'privacyPolicy' => $this->isPrivacyPolicyAccepted()
        ]);
        $siteInstallUser = $render->render();
        if (@$this->filesystem->put(DIR_CONFIG_SITE . '/site_install.php', $siteInstall) === false) {
            throw new UserMessageException(t('Failed to write to file %s', DIRNAME_APPLICATION . '/' . DIRNAME_CONFIG . '/site_install.php'));
        }
        OpCache::clear(DIR_CONFIG_SITE . '/site_install_user.php');
        if (@$this->filesystem->put(DIR_CONFIG_SITE . '/site_install_user.php', $siteInstallUser) === false) {
            throw new UserMessageException(t('Failed to write to file %s', DIRNAME_APPLICATION . '/' . DIRNAME_CONFIG . '/site_install_user.php'));
        }
        OpCache::clear(DIR_CONFIG_SITE . '/site_install_user.php');
    }
public function save ( ) { $ render = new Renderer ( $ this -> configuration ) ; $ siteInstall = $ render -> render ( ) ; $ render = new Renderer ( [ 'userEmail' => $ this -> getUserEmail ( ) , 'userPasswordHash' => $ this -> getUserPasswordHash ( ) , 'startingPointHandle' => $ this -> getStartingPointHandle ( ) , 'siteName' => $ this -> getSiteName ( ) , 'siteLocaleId' => $ this -> getSiteLocaleId ( ) , 'uiLocaleId' => $ this -> getUiLocaleId ( ) , 'serverTimeZone' => $ this -> getServerTimeZoneId ( ) , 'privacyPolicy' => $ this -> isPrivacyPolicyAccepted ( ) ] ) ; $ siteInstallUser = $ render -> render ( ) ; if ( @ $ this -> filesystem -> put ( DIR_CONFIG_SITE . '/site_install.php' , $ siteInstall ) === false ) { throw new UserMessageException ( t ( 'Failed to write to file %s' , DIRNAME_APPLICATION . '/' . DIRNAME_CONFIG . '/site_install.php' ) ) ; } OpCache :: clear ( DIR_CONFIG_SITE . '/site_install_user.php' ) ; if ( @ $ this -> filesystem -> put ( DIR_CONFIG_SITE . '/site_install_user.php' , $ siteInstallUser ) === false ) { throw new UserMessageException ( t ( 'Failed to write to file %s' , DIRNAME_APPLICATION . '/' . DIRNAME_CONFIG . '/site_install_user.php' ) ) ; } OpCache :: clear ( DIR_CONFIG_SITE . '/site_install_user.php' ) ; }
Save the configuration options to file.

@throws UserMessageException
Save the configuration options to file .