#232 removed Iterator classes

This commit is contained in:
Dominik Liebler
2016-09-21 14:34:24 +02:00
parent 8887a564c2
commit d5b8a56425
8 changed files with 562 additions and 362 deletions

View File

@@ -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