Courses

SOLID Code in Laravel

S: Single-Responsibility Principle - Too Big Methods

Previous: Before We Begin: What is SOLID and My Initial Thoughts
avatar

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

avatar

Yes, I think it would be a valid option.

avatar
You can use Markdown
avatar

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

avatar
You can use Markdown
avatar
You can use Markdown