svn: /phpdoc/ja/trunk/reference/phar/ PharData.xml

[email protected] (Yoshinari Takaoka) Wed, 16 Dec 2020 17:29:17 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 16 Dec 2020 17:29:17 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352114

Log:
Fix PharData inheritance

As the comment notes, PharData does not extend Phar.  However, in the meantime
the PharData methods have been documented, so there is no need to additionally
list the Phar methods.

We also document that PharData implements Countable and ArrayAccess.

Changed paths:
    U   phpdoc/ja/trunk/reference/phar/PharData.xml

Modified: phpdoc/ja/trunk/reference/phar/PharData.xml
===================================================================
--- phpdoc/ja/trunk/reference/phar/PharData.xml	2020-12-16 17:24:45 UTC (rev 352113)
+++ phpdoc/ja/trunk/reference/phar/PharData.xml	2020-12-16 17:29:17 UTC (rev 352114)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 345662 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 352110 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->

 <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.phardata" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -42,6 +42,12 @@
       <classname>RecursiveDirectoryIterator</classname>
      </ooclass>

+     <oointerface>
+      <interfacename>Countable</interfacename>
+     </oointerface>
+     <oointerface>
+      <interfacename>ArrayAccess</interfacename>
+     </oointerface>
     </classsynopsisinfo>
 <!-- }}} -->

@@ -53,10 +59,6 @@
     <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
     <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.phardata')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />

-    <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
-    <!-- PharData doesn't extend Phar but it aliases all its methods so we list them here. -->
-    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.phar')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
-
    </classsynopsis>
 <!-- }}} -->