ReflectionMethod::isProtected

( excerpt from http://php.net/manual/en/reflectionmethod.isprotected.php )

public function isProtected(): bool;

Checks if the method is protected.

Returns

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