📜  laravel makeHidden - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:32.630000             🧑  作者: Mango

代码示例1
$patient_recommend_sms =PatientRecommendationSms::
where('patient_id' , $patient_id)
->get()
->makeHidden(['created_at','updated_at' , 'schedule_at' , 'sent_at']);