ReflectionClass::setStaticPropertyValue

(PHP 5 >= 5.1.2, PHP 7, PHP 8)

ReflectionClass::setStaticPropertyValueSets static property value

Description

public ReflectionClass::setStaticPropertyValue(string $name, mixed $value): void

Sets static property value.

Parameters

name

Property name.

value

New property value.

Return Values

No value is returned.

See Also