“Tell, Dont Ask“ Principle in Laravel Models

Sometimes it’s worth creating a separate method in Models, to encapsulate some behavior. - - - - - Support the channel by checking out my products: - My Laravel courses: - Filament examples: - Livewire Kit Components: - - - - - Other places to follow: - My weekly Laravel newsletter: - My personal Twitter:
Back to Top