ReflectionClass::setStaticPropertyValue

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

ReflectionClass::setStaticPropertyValue设置静态属性的值

说明

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

设置静态属性的值。

参数

name

属性的名称。

value

属性的值。

返回值

没有返回值。

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top