ReflectionProperty::isPublic

(PHP 5, PHP 7, PHP 8)

ReflectionProperty::isPublicChecks if property is public

說(shuō)明

public ReflectionProperty::isPublic(): bool

Checks whether the property is public.

參數(shù)

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

返回值

true if the property is public, false otherwise.

參見