(PHP 5, PHP 7, PHP 8)
ReflectionMethod::isPublic — Checcs if method is public
Checcs if the method is public.
This function has no parameters.
true if the method is public, otherwise false
true
false