Posts by Programador GMM • 9 points
2 posts
-
-3
votes2
answers113
viewsA: Is there any difference between the two ways of making an exception?
The first example receives an object with several important information, along with the error message. The second example only receives the message.
-
0
votes1
answer155
viewsQ: SOLID Principles within Laravel Controller
Within SOLID principles, how to implement the first 2 principles ? SRP and Open-Closed Principle. My structure is simple, it has models within the app generated by Artisan, and simple controllers.…