mirror of
https://github.com/php/doc-zh.git
synced 2026-03-24 15:12:20 +01:00
100 lines
2.9 KiB
XML
100 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: benson zhai Status: ready -->
|
|
<!-- CREDITS: Luffy, mowangjuanzi -->
|
|
<reference xml:id="class.reflectiontype" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<title>ReflectionType 类</title>
|
|
<titleabbrev>ReflectionType</titleabbrev>
|
|
|
|
<partintro>
|
|
|
|
<!-- {{{ ReflectionType intro -->
|
|
<section xml:id="reflectiontype.intro">
|
|
&reftitle.intro;
|
|
<para>
|
|
<classname>ReflectionType</classname> 类报告有关函数的参数/返回类型以及类的属性类型的信息。Reflection
|
|
扩展声明了以下子类型:
|
|
<simplelist>
|
|
<member><classname>ReflectionNamedType</classname>(自 PHP 7.1.0 起)</member>
|
|
<member><classname>ReflectionUnionType</classname>(自 PHP 8.0.0 起)</member>
|
|
<member><classname>ReflectionIntersectionType</classname>(自 PHP 8.1.0 起)</member>
|
|
</simplelist>
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<section xml:id="reflectiontype.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<!-- {{{ Synopsis -->
|
|
<classsynopsis class="class">
|
|
<ooclass>
|
|
<modifier>abstract</modifier>
|
|
<classname>ReflectionType</classname>
|
|
</ooclass>
|
|
|
|
<oointerface>
|
|
<modifier>implements</modifier>
|
|
<interfacename>Stringable</interfacename>
|
|
</oointerface>
|
|
|
|
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiontype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ReflectionType'])">
|
|
<xi:fallback/>
|
|
</xi:include>
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
</section>
|
|
|
|
<section role="changelog" xml:id="reflectiontype.changelog"><!-- {{{ -->
|
|
&reftitle.changelog;
|
|
<para>
|
|
<informaltable>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>&Version;</entry>
|
|
<entry>&Description;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>8.0.0</entry>
|
|
<entry>
|
|
<classname>ReflectionType</classname> 已成为抽象类,<function>ReflectionType::isBuiltin</function>
|
|
已移至 <function>ReflectionNamedType::isBuiltin</function>。
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</para>
|
|
</section><!-- }}} -->
|
|
|
|
</partintro>
|
|
|
|
&reference.reflection.entities.reflectiontype;
|
|
|
|
</reference>
|
|
<!-- 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
|
|
-->
|