ReflectionProperty
PHP Manual

ReflectionProperty::setAccessible

(PHP 5 >= 5.3.0)

ReflectionProperty::setAccessibleSet property accessibility

Descrizione

public void ReflectionProperty::setAccessible ( bool $accessible )

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

Elenco dei parametri

accessible

TRUE to allow accessibility, or FALSE.

Valori restituiti

Nessun valore viene restituito.

Vedere anche:


ReflectionProperty
PHP Manual