Airship\Hangar\Command::saveConfig PHP 메소드

saveConfig() 최종 공개 메소드

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));
        }
    }