/** * Merge an array of config variables into Re::$config * Example: Re::addToConfig(array('disallow' => array(0, '0'))) * @param mixed $config * @return array $config **/ public static function addToConfig($config = null) { if (empty($config)) { return; } Re::$config = array_merge(Re::$config, $config); return Re::$config; }
/** * tearDown method * * @return void */ public function tearDown() { unset($this->User); Re::$config = $this->previousConfig; parent::tearDown(); }