Skip to content

Commit

Permalink
Updates the DS interfaces to use new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Aug 3, 2023
1 parent 280c148 commit f099457
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 33 deletions.
25 changes: 12 additions & 13 deletions reference/ds/ds.collection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@

<!-- {{{ Synopsis -->
<classsynopsis class="interface">
<ooclass><classname>Ds\Collection</classname></ooclass>

<!-- {{{ Class synopsis -->
<classsynopsisinfo>

<ooclass><classname>Ds\Collection</classname></ooclass>

<oointerface><interfacename>Countable</interfacename></oointerface>
<oointerface><interfacename>IteratorAggregate</interfacename></oointerface>
<oointerface><interfacename>JsonSerializable</interfacename></oointerface>

</classsynopsisinfo>
<!-- }}} -->
<oointerface><interfacename>Ds\Collection</interfacename></oointerface>

<oointerface>
<modifier>extends</modifier>
<interfacename>Countable</interfacename>
</oointerface>
<oointerface>
<interfacename>IteratorAggregate</interfacename>
</oointerface>
<oointerface>
<interfacename>JsonSerializable</interfacename>
</oointerface>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.ds-collection')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
Expand Down
10 changes: 1 addition & 9 deletions reference/ds/ds.hashable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,7 @@

<!-- {{{ Synopsis -->
<classsynopsis class="interface">
<ooclass><classname>Ds\Hashable</classname></ooclass>

<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>Ds\Hashable</classname>
</ooclass>
</classsynopsisinfo>
<!-- }}} -->
<oointerface><interfacename>Ds\Hashable</interfacename></oointerface>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.ds-hashable')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
Expand Down
20 changes: 9 additions & 11 deletions reference/ds/ds.sequence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,15 @@

<!-- {{{ Synopsis -->
<classsynopsis class="interface">
<ooclass><classname>Ds\Sequence</classname></ooclass>

<!-- {{{ Class synopsis -->
<classsynopsisinfo>

<ooclass><classname>Ds\Sequence</classname></ooclass>
<oointerface><interfacename>Ds\Collection</interfacename></oointerface>
<oointerface><interfacename>ArrayAccess</interfacename></oointerface>

</classsynopsisinfo>
<!-- }}} -->
<oointerface><interfacename>Ds\Sequence</interfacename></oointerface>

<oointerface>
<modifier>extends</modifier>
<interfacename>Ds\Collection</interfacename>
</oointerface>
<oointerface>
<interfacename>ArrayAccess</interfacename>
</oointerface>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.ds-sequence')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
Expand Down

0 comments on commit f099457

Please sign in to comment.