To convert a model and its loaded relationships to an array, you should use the toArray ... will automatically be included as attributes on the JSON object.
確定! 回上一頁