ReflectionMethod::isPrivate

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isPrivate判斷方法是否是私有方法

說明

public ReflectionMethod::isPrivate(): bool

判斷方法是否是私有方法

警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

私有方法返回 true,否則返回 false

參見