SOLID PHP: One Function or Two Functions?

Опубликовано: 30 Сентябрь 2024
на канале: Laravel Daily
10,127
430

Let's discuss a refactoring example I've seen on Twitter, with various options and pros/cons.

My course "SOLID Code in Laravel": https://laraveldaily.com/course/solid...

- - - - -
Support the channel by checking out my products:
- My Laravel courses: https://laraveldaily.com/courses
- Laravel QuickAdminPanel: https://quickadminpanel.com
- Livewire Kit Components: https://livewirekit.com

- - - - -
Other places to follow:
- My weekly Laravel newsletter: https://us11.campaign-archive.com/hom...
- My personal Twitter:   / povilaskorop