ReflectionMethod::isProtected

( excerpt from http://php

public function isProtected(): bool;

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

Checks if the method is protected.

Return Values

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