ReflectionMethod::isPrivate

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

public function isPrivate(): bool;

Checks if the method is private. Warning: This function is currently not documented; only its argument list is available.

Returns

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