ReflectionMethod::isPublic

( excerpt from http://php

public function isPublic(): bool;

net/manual/en/reflectionmethod.ispublic.php )

Checks if the method is public.

Return Values

  • bool - TRUE if the method is public, otherwise FALSE