reference/phar/Phar/construct.xml
f03806fcd8fe03a0501bd40b6e3939ff6589a1d2
...
...
@@ -7,12 +7,12 @@
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
10
+
<constructorsynopsis role="Phar">
11
11
<modifier>public</modifier> <methodname>Phar::__construct</methodname>
12
-
<methodparam><type>string</type><parameter>fname</parameter></methodparam>
13
-
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
14
-
<methodparam choice="opt"><type>string</type><parameter>alias</parameter></methodparam>
15
-
</methodsynopsis>
12
+
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
13
+
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>FilesystemIterator::SKIP_DOTS | FilesystemIterator::UNIX_PATHS</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>alias</parameter><initializer>&null;</initializer></methodparam>
15
+
</constructorsynopsis>
16
16

17
17
</refsect1>
18
18
<refsect1 role="parameters">
...
...
@@ -20,7 +20,7 @@
20
20
<para>
21
21
<variablelist>
22
22
<varlistentry>
23
-
<term><parameter>fname</parameter></term>
23
+
<term><parameter>filename</parameter></term>
24
24
<listitem>
25
25
<para>
26
26
Path to an existing Phar archive or to-be-created archive. The file name's
...
...
@@ -88,7 +88,6 @@ echo file_get_contents('phar:///path/to/my.phar/example.txt');
88
88
</refsect1>
89
89

90
90
</refentry>
91
-

92
91
<!-- Keep this comment at the end of the file
93
92
Local variables:
94
93
mode: sgml
95
94