DEV Community

Discussion on: A month of clean code

Collapse
 
gonedark profile image
Jason McCreary

To be clear, there is no actual Model/Request coupling. It's just coincidence that we pass the same object. To your point, we could easily use $request->only() to pluck these values out to pass down to the model.