PHP
symfonystation
•
5mo ago
•
100%
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-secondsIn 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?
Comments 0