/** * Configures database definitions. * * @param string|array $config Either a path to the JSON encoded * configuration file, or the configuration as an array. */ public static function configure($config) { DB::disconnectAll(); Config::load($config); }