ReflectionClass::setStaticPropertyValue
Sets static property value
Description
public void ReflectionClass::setStaticPropertyValue(string $name, mixed $value)
Sets the value of a static property on this class, regardless of the
property's visibility.
ReflectionProperty::setValue can also be
used to set the value of static properties.
Parameters
-
name
-
Property name.
-
value
-
New property value.
Return Values
No value is returned.
See Also
- ReflectionClass::getStaticPropertyValue
- ReflectionProperty::setValue