reference/phar/Phar/getMetadata.xml
f03806fcd8fe03a0501bd40b6e3939ff6589a1d2
...
...
@@ -1,15 +1,15 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="phar.getmetadata">
3
+
<refentry xml:id="phar.getmetadata" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>Phar::getMetadata</refname>
6
6
<refpurpose>Returns phar archive meta-data</refpurpose>
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
10
+
<methodsynopsis role="Phar">
11
11
<modifier>public</modifier> <type>mixed</type><methodname>Phar::getMetadata</methodname>
12
-
<void/>
12
+
<methodparam choice="opt"><type>array</type><parameter>unserializeOptions</parameter><initializer>[]</initializer></methodparam>
13
13
</methodsynopsis>
14
14

15
15
<para>
...
...
@@ -26,11 +26,33 @@
26
26
<refsect1 role="returnvalues">
27
27
&reftitle.returnvalues;
28
28
<para>
29
-
any PHP variable that can be serialized and is stored as meta-data for the Phar archive,
29
+
Any PHP value that can be serialized and is stored as meta-data for the Phar archive,
30
30
or &null; if no meta-data is stored.
31
31
</para>
32
32
</refsect1>
33
33

34
+
<refsect1 role="changelog">
35
+
&reftitle.changelog;
36
+
<informaltable>
37
+
<tgroup cols="2">
38
+
<thead>
39
+
<row>
40
+
<entry>&Version;</entry>
41
+
<entry>&Description;</entry>
42
+
</row>
43
+
</thead>
44
+
<tbody>
45
+
<row>
46
+
<entry>8.0.0</entry>
47
+
<entry>
48
+
The parameter <parameter>unserializeOptions</parameter> has been added.
49
+
</entry>
50
+
</row>
51
+
</tbody>
52
+
</tgroup>
53
+
</informaltable>
54
+
</refsect1>
55
+

34
56
<refsect1 role="examples">
35
57
&reftitle.examples;
36
58
<para>
...
...
@@ -79,7 +101,6 @@ array(1) {
79
101
</refsect1>
80
102

81
103
</refentry>
82
-

83
104
<!-- Keep this comment at the end of the file
84
105
Local variables:
85
106
mode: sgml
86
107