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?
You must log in or register to comment.