public static function connect($type, $options = []) { $class = '\\org\\oauth\\driver\\' . ucwords($type); self::$handler = new $class($options); return self::$handler; }