classes/Config.php
public static function setOptions(array $options, $update = true)
    {
        if ($update) {
            $config = self::getInstance();
            $config->applyOptions($options);
            $config->validateOptions();
        } else {
            self::$instance = new self($options);
        }
    }
public static function setOptions(array $options, $update = true)
    {
        if ($update) {
            $config = self::getInstance();
            $config->applyOptions($options);
            $config->validateOptions();
        } else {
            self::$instance = new self($options);
        }
    }
public static function setOptions ( array $ options , $ update = true ) { if ( $ update ) { $ config = self :: getInstance ( ) ; $ config -> applyOptions ( $ options ) ; $ config -> validateOptions ( ) ; } else { self :: $ instance = new self ( $ options ) ; } }
Manually set some options.

@param array $options Options (see `config/config.example.yml` for available options)
@param bool  $update  True to update an existing instance
Manually set some options .