ReflectionProperty::setAccessible

Set property accessibility

Beschreibung

public void ReflectionProperty::setAccessible ( bool $accessible )

Sets a property to be accessible. For example, it may allow protected and private properties to be accessed.

Parameter-Liste

accessible

TRUE to allow accessibility, or FALSE.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Siehe auch

  • ReflectionProperty::isPrivate
  • ReflectionProperty::isProtected