Комментарии:
When you have many enums it's inevitable that there will be useful utility methods applicable to all ... for DRY enums how best to share these methods in the absence of being able to extend from a parent enum?
ОтветитьHey Povilas! Could you answer my question under 8 lesson of Splade tutorial on premium Laravel Daily course? Even if you don't get my question tell me what part of my question should i make clear
ОтветитьI'm starting to see the advantage... So basically if public constants are being transformed later in the code, it's indeed easier to create an enum class with its methods.
Good to know!