Add isVariadic() method documentation.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335240 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Adam Harvey 2014-12-03 01:11:28 +00:00
parent 6c668086fa
commit dacbac0ab2
3 changed files with 111 additions and 0 deletions

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="reflectionfunctionabstract.isvariadic" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionFunctionAbstract::isVariadic</refname>
<refpurpose>Checks if the function is variadic</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ReflectionFunctionAbstract::isVariadic</methodname>
<void />
</methodsynopsis>
<para>
Checks if the function is
<link linkend="functions.variable-arg-list.new">variadic</link>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true; if the function is variadic, otherwise &false;.
</para>
</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
-->

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="reflectionparameter.isvariadic" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionParameter::isVariadic</refname>
<refpurpose>Checks if the parameter is variadic</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ReflectionParameter::isVariadic</methodname>
<void />
</methodsynopsis>
<para>
Checks if the parameter was declared as a
<link linkend="functions.variable-arg-list.new">variadic parameter</link>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true; if the parameter is variadic, otherwise &false;.
</para>
</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
-->

View file

@ -33,6 +33,7 @@
<function name='reflectionfunctionabstract::isgenerator' from='PHP 5 &gt;= 5.5.0'/>
<function name='reflectionfunctionabstract::isinternal' from='PHP 5'/>
<function name='reflectionfunctionabstract::isuserdefined' from='PHP 5'/>
<function name='reflectionfunctionabstract::isvariadic' from='PHP 5 &gt;= 5.6.0'/>
<function name='reflectionfunctionabstract::getclosurescopeclass' from='PHP &gt;= 5.4.0'/>
<function name='reflectionfunctionabstract::getclosurethis' from='PHP &gt;= 5.4.0'/>
<function name='reflectionfunctionabstract::getdoccomment' from='PHP 5 &gt;= 5.1.0'/>
@ -64,6 +65,7 @@
<function name='reflectionfunction::isdeprecated' from='PHP 5'/>
<function name='reflectionfunction::isinternal' from='PHP 5'/>
<function name='reflectionfunction::isuserdefined' from='PHP 5'/>
<function name='reflectionfunction::isvariadic' from='PHP 5 &gt;= 5.6.0'/>
<function name='reflectionfunction::getclosure' from='PHP &gt;= 5.4.0'/>
<function name='reflectionfunction::getdoccomment' from='PHP 5 &gt;= 5.1.0'/>
<function name='reflectionfunction::getendline' from='PHP 5'/>
@ -100,6 +102,7 @@
<function name='reflectionparameter::isdefaultvalueavailable' from='PHP 5 &gt;= 5.0.3'/>
<function name='reflectionparameter::getdefaultvalue' from='PHP 5 &gt;= 5.0.3'/>
<function name='reflectionparameter::canbepassedbyvalue' from='PHP &gt;= 5.4.0'/>
<function name='reflectionparameter::isvariadic' from='PHP 5 &gt;= 5.6.0'/>
<function name='reflectionmethod' from='PHP 5'/>
<function name='reflectionmethod::__clone' from='PHP 5'/>