How to add visibility to 338 Class Constants in 25 seconds
How to add visibility to 338 Class Constants in 25 seconds
tomasvotruba.com How to add visibility to 338 Class Constants in 25 seconds
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?
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?
0 comments