reference/enchant/functions/enchant-broker-free.xml
94f2c273f0bb214580b3cba17273f79e8cc2cb25
...
...
@@ -5,14 +5,20 @@
5
5
<refname>enchant_broker_free</refname>
6
6
<refpurpose>Free the broker resource and its dictionaries</refpurpose>
7
7
</refnamediv>
8
+

9
+
<refsynopsisdiv>
10
+
&warn.deprecated.function-8-0-0;
11
+
</refsynopsisdiv>
12
+

8
13
<refsect1 role="description">
9
14
&reftitle.description;
10
15
<methodsynopsis>
11
16
<type>bool</type><methodname>enchant_broker_free</methodname>
12
-
<methodparam><type>resource</type><parameter>broker</parameter></methodparam>
17
+
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
13
18
</methodsynopsis>
14
19
<para>
15
-
Free a broker resource with all its dictionaries.
20
+
Free a broker with all its dictionaries.
21
+
As of PHP 8.0.0, it is recommended to unset the object instead of calling this function.
16
22
</para>
17
23
</refsect1>
18
24

...
...
@@ -20,14 +26,7 @@
20
26
&reftitle.parameters;
21
27
<para>
22
28
<variablelist>
23
-
<varlistentry>
24
-
<term><parameter>broker</parameter></term>
25
-
<listitem>
26
-
<para>
27
-
Broker resource
28
-
</para>
29
-
</listitem>
30
-
</varlistentry>
29
+
&enchant.param.broker;
31
30
</variablelist>
32
31
</para>
33
32
</refsect1>
...
...
@@ -39,6 +38,23 @@
39
38
</para>
40
39
</refsect1>
41
40

41
+
<refsect1 role="changelog">
42
+
&reftitle.changelog;
43
+
<informaltable>
44
+
<tgroup cols="2">
45
+
<thead>
46
+
<row>
47
+
<entry>&Version;</entry>
48
+
<entry>&Description;</entry>
49
+
</row>
50
+
</thead>
51
+
<tbody>
52
+
&enchant.changelog.broker-param;
53
+
</tbody>
54
+
</tgroup>
55
+
</informaltable>
56
+
</refsect1>
57
+

42
58
<refsect1 role="seealso">
43
59
&reftitle.seealso;
44
60
<para>
...
...
@@ -48,7 +64,6 @@
48
64
</para>
49
65
</refsect1>
50
66
</refentry>
51
-

52
67
<!-- Keep this comment at the end of the file
53
68
Local variables:
54
69
mode: sgml
55
70