DEV Community

Discussion on: Laravel fit models.

 
bakle profile image
bakle

Yes but not directly inside the model. That is why I refer to "reducing the number of methods within the model", this make the model itself easier to read. Extract methods into specific files is one of the principles of refactoring.