mirror of
https://github.com/php/doc-ru.git
synced 2026-03-24 07:42:22 +01:00
100 lines
3.1 KiB
XML
100 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: rjhdby Status: ready -->
|
||
<!-- Reviewed: no -->
|
||
<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
|
||
-->
|