📅  最后修改于: 2022-03-11 14:54:22.643000             🧑  作者: Mango
代码示例1
$employees = Employees::findOrFail($id);
//Since you are fetching one record from Employee model.So it return single object.