mirror of
https://github.com/php/doc-ja.git
synced 2026-03-24 15:12:22 +01:00
72 lines
2.5 KiB
XML
72 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 348789addeedc32858ec0e29ec44fada391aecb3 Maintainer: takagi Status: ready -->
|
|
|
|
<refentry xml:id="reflectionfunctionabstract.getclosurescopeclass" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<refnamediv>
|
|
<refname>ReflectionFunctionAbstract::getClosureScopeClass</refname>
|
|
<refpurpose>クロージャ内部のスコープに関連づけられたクラスを返す</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis role="ReflectionFunctionAbstract">
|
|
<modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getClosureScopeClass</methodname>
|
|
<void/>
|
|
</methodsynopsis>
|
|
<simpara>
|
|
<classname>Closure</classname> 内部のスコープに関連付けられたクラスを
|
|
<classname>ReflectionClass</classname> として返します。
|
|
</simpara>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
&no.function.parameters;
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<simpara>
|
|
スコープが <classname>Closure</classname> 内部で使われている
|
|
クラスに関連付けられた、<classname>ReflectionClass</classname> を返します。
|
|
関数がクロージャでなかったり、グローバルスコープだった場合は
|
|
&null; を代わりに返します。
|
|
</simpara>
|
|
</refsect1>
|
|
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('reflectionfunctionabstract.getclosurecalledclass')/db:refsect1[@role='examples']/.)">
|
|
<xi:fallback/>
|
|
</xi:include>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<simplelist>
|
|
<member><methodname>ReflectionFunctionAbstract::getClosureCalledClass</methodname></member>
|
|
<member><methodname>ReflectionFunctionAbstract::getClosureThis</methodname></member>
|
|
<member><xref linkend="language.oop5.late-static-bindings" /></member>
|
|
</simplelist>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|