1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 31 May 2024
1 points (100.0% liked)

PHP

1 readers
1 users here now

founded 2 years ago