(PHP 5 >= 5.3.0, PHP 7)
ReflectionProperty::setAccessible — Set property accessibility
$accessible
)Sets a property to be accessible. For example, it may allow protected and private properties to be accessed.
accessible
TRUE
to allow accessibility, or FALSE
.
没有返回值。