1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-24 15:12:13 +01:00
Files
archived-doc-fr/reference/reflection/reflectionparameter.xml
George Peter Banyard 48c6afeb13 Apply commit 98df2cf9a939729d73adee1484ec05929c74c98b
Generate reflection methodsynopses based on stubs
2021-01-02 17:09:57 +01:00

110 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<phpdoc:classref xml:id="class.reflectionparameter" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>La classe ReflectionParameter</title>
<titleabbrev>ReflectionParameter</titleabbrev>
<partintro>
<!-- {{{ ReflectionParameter intro -->
<section xml:id="reflectionparameter.intro">
&reftitle.intro;
<para>
La classe <classname>ReflectionParameter</classname> récupère les
informations sur les paramètres des fonctions ou des méthodes.
</para>
<para>
Pour introspecter les paramètres des fonctions, tout d'abord créez une
instance de la classe <classname>ReflectionFunction</classname> ou
de la classe <classname>ReflectionMethod</classname> puis utilisez
la méthode <methodname>ReflectionFunctionAbstract::getParameters</methodname>
pour récupérer un tableau des paramètres.
</para>
</section>
<!-- }}} -->
<section xml:id="reflectionparameter.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>ReflectionParameter</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>ReflectionParameter</classname>
</ooclass>
<oointerface>
<interfacename>Reflector</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<varname linkend="reflectionparameter.props.name">name</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionparameter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
<xi:fallback />
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionparameter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
</classsynopsis>
<!-- }}} -->
</section>
<!-- {{{ ReflectionParameter properties -->
<section xml:id="reflectionparameter.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="reflectionparameter.props.name">
<term><varname>name</varname></term>
<listitem>
<para>
Nom du paramètre. En lecture seule, émets
<classname>ReflectionException</classname> lors d'une tentative d'écriture.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>
<!-- }}} -->
</partintro>
&reference.reflection.entities.reflectionparameter;
</phpdoc:classref>
<!-- 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
-->