Files
archived-doc-pt-br/language/predefined/backedenum.xml
2025-08-27 21:24:34 -03:00

74 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!-- EN-Revision: 9eb4a46bba05da229be4c8f7a3cb64702e1a2f95 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
<reference xml:id="class.backedenum" 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>A interface BackedEnum</title>
<titleabbrev>BackedEnum</titleabbrev>
<partintro>
<!-- {{{ BackedEnum intro -->
<section xml:id="backedenum.intro">
&reftitle.intro;
<para>
A interface <classname>BackedEnum</classname> é aplicada automaticamente pelo motor do PHP a
enumerações lastreadas. Não pode ser implementada por classes definidas pelo usuário.
Enumerações não podem substituir seus métodos, já que as implementações padrões são fornecidas
pelo motor. Está disponível apenas para verificações de tipo.
</para>
</section>
<!-- }}} -->
<section xml:id="backedenum.synopsis">
&reftitle.interfacesynopsis;
<!-- {{{ Synopsis -->
<classsynopsis class="interface">
<oointerface>
<interfacename>BackedEnum</interfacename>
</oointerface>
<oointerface>
<modifier>extends</modifier>
<interfacename>UnitEnum</interfacename>
</oointerface>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.backedenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='BackedEnum'])">
<xi:fallback/>
</xi:include>
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.unitenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='UnitEnum'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
&language.predefined.backedenum.from;
&language.predefined.backedenum.tryfrom;
</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
-->