[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: BackedEnum is also an interface. (#1136)
From: Yoshinari Takaoka via GitHub <noreply () php ! net>
Date: 2021-11-24 8:58:25
Message-ID: MycGWXgddcsDpXgnDSQsITLRXmyc64ZIwPo4oJuDBQ () main ! php ! net
[Download RAW message or body]
Author: Yoshinari Takaoka (mumumu)
Committer: GitHub (web-flow)
Pusher: mumumu
Date: 2021-11-24T17:59:09+09:00
Commit: https://github.com/php/doc-en/commit/61b163dbdfdd95ae296e6d1313b45c6f285dd551
Raw diff: https://github.com/php/doc-en/commit/61b163dbdfdd95ae296e6d1313b45c6f285dd551.diff
BackedEnum is also an interface. (#1136)
closes #1135
https://github.com/php/doc-en/issues/1135#issuecomment-977262147
Changed paths:
M language/predefined/backedenum.xml
M language/predefined/backedenum/from.xml
M language/predefined/backedenum/tryfrom.xml
Diff:
diff --git a/language/predefined/backedenum.xml b/language/predefined/backedenum.xml
index 46b7075307..ca6d683354 100644
--- a/language/predefined/backedenum.xml
+++ b/language/predefined/backedenum.xml
@@ -18,7 +18,7 @@
<!-- }}} -->
<section xml:id="backedenum.synopsis">
- &reftitle.classsynopsis;
+ &reftitle.interfacesynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
@@ -26,13 +26,14 @@
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
- <ooclass>
- <classname>BackedEnum</classname>
- </ooclass>
-
<oointerface>
- <interfacename>UnitEnum</interfacename>
+ <interfacename>BackedEnum</interfacename>
</oointerface>
+
+ <ooclass>
+ <modifier>extends</modifier>
+ <classname>UnitEnum</classname>
+ </ooclass>
</classsynopsisinfo>
<!-- }}} -->
diff --git a/language/predefined/backedenum/from.xml \
b/language/predefined/backedenum/from.xml index 0d9af6eb2e..888a264cf3 100644
--- a/language/predefined/backedenum/from.xml
+++ b/language/predefined/backedenum/from.xml
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>abstract</modifier> <modifier>public</modifier> \
<modifier>static</modifier> \
<type>static</type><methodname>BackedEnum::from</methodname> + \
<modifier>public</modifier> <modifier>static</modifier> \
<type>static</type><methodname>BackedEnum::from</methodname> <methodparam><type \
class="union"><type>string</type><type>int</type></type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
diff --git a/language/predefined/backedenum/tryfrom.xml \
b/language/predefined/backedenum/tryfrom.xml index 330c26db34..3f8a33a189 100644
--- a/language/predefined/backedenum/tryfrom.xml
+++ b/language/predefined/backedenum/tryfrom.xml
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>abstract</modifier> <modifier>public</modifier> \
<modifier>static</modifier> <type \
class="union"><type>static</type><type>null</type></type><methodname>BackedEnum::tryFrom</methodname>
+ <modifier>public</modifier> <modifier>static</modifier> <type \
class="union"><type>static</type><type>null</type></type><methodname>BackedEnum::tryFrom</methodname>
<methodparam><type \
class="union"><type>string</type><type>int</type></type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic