File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
reference/reflection/reflectionclass Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 33<refentry xml : id =" reflectionclass.setstaticpropertyvalue" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
44 <refnamediv >
55 <refname >ReflectionClass::setStaticPropertyValue</refname >
6- <refpurpose >Sets public static property value</refpurpose >
6+ <refpurpose >Sets static property value</refpurpose >
77 </refnamediv >
88
99 <refsect1 role =" description" >
1414 <methodparam ><type >mixed</type ><parameter >value</parameter ></methodparam >
1515 </methodsynopsis >
1616 <simpara >
17- Sets the value of a public static property.
18- If the property is private or protected, the method will fail.
17+ Sets the value of a static property, regardless of its visibility.
1918 </simpara >
2019 <simpara >
21- <methodname >ReflectionProperty::setValue</methodname > allows setting
22- the value of public, private, and protected properties.
20+ <methodname >ReflectionProperty::setValue</methodname > can also be
21+ used to set the value of static properties.allows setting .
2322 </simpara >
2423 </refsect1 >
2524
7372 threw a <classname >ReflectionException</classname >.
7473 </entry >
7574 </row >
75+ <row >
76+ <entry >7.4.9</entry >
77+ <entry >
78+ This method can now set static properties regardless of their visibility.
79+ </entry >
80+ </row >
7681 </tbody >
7782 </tgroup >
7883 </informaltable >
You can’t perform that action at this time.
0 commit comments