php-doc-en/reference/reflection/reflectionclassconstant/isfinal.xml
Yoshinari Takaoka 5d1673b7a0
[PHP 8.1] Document final class constants. (#1041)
* Document final class constant.

* use singular form.

* Update language/oop5/constants.xml

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>

* Update language/oop5/constants.xml

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
2021-11-29 15:06:49 -06:00

63 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<refentry xml:id="reflectionclassconstant.isfinal" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionClassConstant::isFinal</refname>
<refpurpose>Checks if class constant is final</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ReflectionClassConstant::isFinal</methodname>
<void />
</methodsynopsis>
<para>
Checks if the class constant is final.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&true; if the class constant is final, otherwise &false;
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><methodname>ReflectionClassConstant::isPublic</methodname></member>
<member><methodname>ReflectionClassConstant::isPrivate</methodname></member>
<member><methodname>ReflectionClassConstant::isProtected</methodname></member>
</simplelist>
</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
-->