Login
Roast topics
Find topics
Find it!
From:
Read about upgrades, static analysis, GPT, Symfony and Laravel
(Uncensored)
subscribe
How to add visibility to 338 Class Constants in 25 seconds
https://tomasvotruba.com/blog/how-to-add-visbility-to-338-class-constants-in-25-seconds
links
backlinks
Roast topics
Find topics
Roast it!
In PHP, we have classes with methods inside them. Would making all your methods `public` be a good idea? No, because some of them should be used only by the class they're in and not anywhere else. What about class constants?