php – I get an error in Laravel query language

Missing Argument 1 for Illuminate Database Connection :: table ()

I pass the argument here in the table function. I receive this error on every function of the database I use.

it works well when I create the model object and then use the table () function.

That's the code I use.
returns DB :: table (& # 39; crop_growth & # 39;)
-> leftJoin ("farmer_details", "crop_growth.farmer_id", = "farmer_details.id")
-> select ('crop_growth.id', 'crop_growth.remind_after', 'crop_growth.reason', 'crop_growth.is_read', & # 39; 39; farmer_details.name & # 39 ;, & # 39; farmer_details.phone & # 39;)
-> where (& # 39; crop_growth.emp_id & # 39 ;, $ empId)
-> where (& # 39; crop_growth.remind_after & # 39 ;! = & # 39 ;, null)
-> orderBy (& # 39; crop_growth.is_read & # 39 ;, & quot; ASC & # 39;)
-> orderBy (& # 39; crop_growth.remind_after & # 39 ;, & # 39; ASC & # 39;)
-> get ();