It is important to note that calling ReflectionClass::setStaticPropertyValue will not allow you to add new static properties to a class.
ReflectionClass::setStaticPropertyValue
(PHP 5 >= 5.1.0)
ReflectionClass::setStaticPropertyValue — Sets static property value
Beschreibung
public void ReflectionClass::setStaticPropertyValue
( string
$name
, string $value
)Sets static property value.
Warnung
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
Parameter-Liste
-
name -
Property name.
-
value -
New property value.
Rückgabewerte
Es wird kein Wert zurückgegeben.
chuck at manchuck dot com ¶
10 months ago
