mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-29 09:19:54 +02:00
#232 removed Iterator classes
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
Purpose
|
||||
-------
|
||||
|
||||
To make an object iterable and to make it appear like a collection of
|
||||
objects.
|
||||
To make an object iterable and to make it appear like a collection of objects.
|
||||
|
||||
Examples
|
||||
--------
|
||||
@@ -45,18 +44,6 @@ BookList.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
BookListIterator.php
|
||||
|
||||
.. literalinclude:: BookListIterator.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
BookListReverseIterator.php
|
||||
|
||||
.. literalinclude:: BookListReverseIterator.php
|
||||
:language: php
|
||||
:linenos:
|
||||
|
||||
Test
|
||||
----
|
||||
|
||||
@@ -67,4 +54,4 @@ Tests/IteratorTest.php
|
||||
:linenos:
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Iterator
|
||||
.. __: http://en.wikipedia.org/wiki/Iterator_pattern
|
||||
.. __: http://en.wikipedia.org/wiki/Iterator_pattern
|
||||
|
Reference in New Issue
Block a user