Airship\Hangar\Command::saveConfig PHP Method

saveConfig() final public method

Save the configuration
final public saveConfig ( )
    public final function saveConfig()
    {
        \file_put_contents(AIRSHIP_LOCAL_CONFIG . "/hangar.json", \json_encode($this->config, JSON_PRETTY_PRINT));
        if (!empty($this->session)) {
            \file_put_contents(AIRSHIP_LOCAL_CONFIG . "/hangar.session.json", \json_encode($this->session, JSON_PRETTY_PRINT));
        }
    }