ReflectionMethod::isPrivate
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Checks if method is private
Description
ReflectionMethod::isPrivate(): bool
Checks if the method is private.
Parameters Parameters
Return Values
true if the method is private, otherwise false
See Also
ReflectionMethod::isPublic