2014-04-24 45 views

回答

0

這是不可能使用哨兵,因爲它返回組對象的數組,但你可以把它轉換使用純PHP到JSON:

return json_encode(Sentry::findAllGroups());