ReflectionProperty::isStatic
ReflectionProperty::setValue
ReflectionProperty
PHP Manual

# ReflectionProperty::setAccessible

(PHP 5 >= 5.3.0)

ReflectionProperty::setAccessible — Set property accessibility

### 説明

public void ReflectionProperty::setAccessible ( bool `$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`.

### 返り値

値を返しません。

### 参考

- ReflectionProperty::isPrivate - Checks if property is private
- ReflectionProperty::isProtected - Checks if property is protected

ReflectionProperty::isStatic
ReflectionProperty::setValue
ReflectionProperty
PHP Manual