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
Descrierea
public void ReflectionClass::setStaticPropertyValue
( string
$name
, string $value
)Sets static property value.
Avertizare
Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.
Parametri
-
name -
Property name.
-
value -
New property value.
Valorile întoarse
Nu este întoarsă nici o valoare.
chuck at manchuck dot com ¶
10 months ago
