When an Eloquent model is converted to JSON, its loaded relationships will automatically be included as attributes on the JSON object.
確定! 回上一頁