ReflectionProperty::isPrivate

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::isPrivateChecks if property is private

說(shuō)明

public ReflectionProperty::isPrivate(): bool

Checks whether the property is private.

參數(shù)

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

返回值

true if the property is private, false otherwise.

參見