summaryrefslogtreecommitdiff
path: root/include/iterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/iterator.h')
-rw-r--r--include/iterator.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/iterator.h b/include/iterator.h
index 13b30fc..ad9820a 100644
--- a/include/iterator.h
+++ b/include/iterator.h
@@ -2,19 +2,19 @@
* Iterator.h
*
* Base class for iterators. Extension writers that want to create traversable
- * classes, should override this class and implement all pure virtual methods
- * in it.
+ * classes, should override the Php::Traversable base class. This base class
+ * forces you to implement a getIterator() method that returns an instance of
+ * a Php::Iterator class.
+ *
+ * In this file you find the signature of the Php::Iterator class. It mostly has
+ * pure virtual methods, which means that you should create a derived class
+ * that implements all these methods.
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2014 Copernica BV
*/
/**
- * Forward declarations
- */
-struct _zend_object_iterator_funcs;
-
-/**
* Set up namespace
*/
namespace Php {