reference/datetime/datetime/set-state.xml
02ff7fef5b34cf8f5395180d9d39fb64d9398d00
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="datetime.set-state" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>DateTime::__set_state</refname>
...
...
@@ -9,13 +8,17 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis role="oop">
11
+
<methodsynopsis role="DateTime">
13
12
<modifier>public</modifier> <modifier>static</modifier> <type>DateTime</type><methodname>DateTime::__set_state</methodname>
14
13
<methodparam><type>array</type><parameter>array</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
The <link linkend="object.set-state">__set_state()</link> handler.
18
17
</para>
18
+
<para>
19
+
Like <methodname>DateTimeImmutable::__set_state</methodname> but works with
20
+
<classname>DateTime</classname>.
21
+
</para>
19
22
</refsect1>
20
23

21
24
<refsect1 role="parameters">
...
...
@@ -40,7 +43,6 @@
40
43
</refsect1>
41
44

42
45
</refentry>
43
-

44
46
<!-- Keep this comment at the end of the file
45
47
Local variables:
46
48
mode: sgml
47
49