玩家账户客户 该软件包用作与玩家帐户服务进行通信的标准化方法。客户端实现了流畅的界面。 客户端设置 // Getting a client instance $ playerAccount = PlayerAccount :: create ( $ playerAccountBaseURL ); // Setting basic auth credentials $ playerAccount -> auth ( $ username , $ password ); // Telling the client to use Request Insurance $ playerAccount -> useRequestInsurance (); 用法 // Triggering a user incident $ playerAccount -> incident ( $ userId ,