ReflectionMethod::isPrivate

( excerpt from http://php

public function isPrivate(): bool;

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

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

Return Values

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