Enums in PHP/Laravel: Add More Functionality

Enums in PHP/Laravel: Add More Functionality

According to Matt Kingshott, Enums may contain more logic than just the set of values.

Original Tweet: https://twitter.com/mattkingshott/status/1620066933520449537
My other video: Enum PHP 8.1 Classes in Laravel: Practical Example https://www.youtube.com/watch?v=uEBHJVK-Ibg

- - - - -
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/home/?u=a459401212599a54203d036ee&id=91c1337873
- My personal Twitter: https://twitter.com/povilaskorop

EnumsPHP/Laravel:Functionality

Post a Comment

0 Comments