Checking method visibility in PHP

Posted by phobia on Stack Overflow See other posts from Stack Overflow or by phobia
Published on 2010-06-05T18:55:59Z Indexed on 2010/06/05 19:02 UTC
Read the original article Hit count: 212

Filed under:
|
|
|
|

Is there any way of checking if a class method has been declared as private or public?

I'm working on a controller where the url is mapped to methods in the class, and I only want to trigger the methods if they are defined as public.

© Stack Overflow or respective owner

Related posts about php

Related posts about oop