Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

S: Single-Responsibility Principle - Too Big Methods

Lesson 02/21 5:51
Autoplay

Comments & Discussion

M
Mrzalais ✓ Link copied!

Not sure if related to SOLID, but would it be a good option to pass a DTO (called InvoiceParams for example) to StoreNewInvoice method?

PK
Povilas Korop ✓ Link copied!

Yes, I think it would be a valid option.

K
Kelvin ✓ Link copied!

I'm new to laravel. Would you point out your course video/article that discuss the eloquent model's boot method, if any? Thanks.

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.