Is there a way to check if a class method has been declared as private or public?
I am working on a controller where the URL maps to methods in the class, and I only want to run the methods if they are defined as public.
visibility methods oop php class
phobia
source share