private static function createKey($key) { $key = is_null($key) ? Config::get("auth_key") : $key; self::$auth_key = md5($key); }