reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml
ca840c9a6d665e60a7de48b57a5b6440c0d3b0c1
...
...
@@ -1,24 +1,21 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="reflectionfunctionabstract.getclosurescopeclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ReflectionFunctionAbstract::getClosureScopeClass</refname>
7
-
<refpurpose>Returns the scope associated to the closure</refpurpose>
6
+
<refpurpose>Returns the scope class associated with the closure</refpurpose>
8
7
</refnamediv>
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionFunctionAbstract::getClosureScopeClass</methodname>
14
-
<void />
11
+
<methodsynopsis role="ReflectionFunctionAbstract">
12
+
<modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getClosureScopeClass</methodname>
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
-

16
+
Get the class enclosing the closure declaration.
18
17
</para>
19
18

20
-
&warn.undocumented.func;
21
-

22
19
</refsect1>
23
20

24
21
<refsect1 role="parameters">
...
...
@@ -29,13 +26,12 @@
29
26
<refsect1 role="returnvalues">
30
27
&reftitle.returnvalues;
31
28
<para>
32
-
Returns the class on success or &null; on failure.
29
+
Returns the class, or &null; if the function is not a closure or if there was no enclosing class.
33
30
</para>
34
31
</refsect1>
35
32

36
33

37
34
</refentry>
38
-

39
35
<!-- Keep this comment at the end of the file
40
36
Local variables:
41
37
mode: sgml
42
38