(PHP 5, PHP 7)
ReflectionMethod::isPublic — Checks if method is public
Checks if the method is public.
This function has no parameters.
TRUE if the method is public, otherwise FALSE
TRUE
FALSE