public static function initialize(Sabel_Config $config) { if (self::$initialized) { return; } foreach ($config->configure() as $connectionName => $params) { self::$configs[$connectionName] = $params; } self::$initialized = true; }
public static function initialize(Sabel_Config $config) { if (self::$initialized) { return; } foreach ($config->configure() as $connectionName => $params) { self::$configs[$connectionName] = $params; } self::$initialized = true; }