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
Watch video SOLID PHP: One Function or Two Functions? online without registration, duration hours minute second in high quality. This video was added by user Laravel Daily 16 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,127 once and liked it 430 people.