summaryrefslogtreecommitdiff
path: root/src/iteratorimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/iteratorimpl.h')
-rw-r--r--src/iteratorimpl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/iteratorimpl.h b/src/iteratorimpl.h
index 97c59e4..4d15c73 100644
--- a/src/iteratorimpl.h
+++ b/src/iteratorimpl.h
@@ -19,6 +19,13 @@ namespace Php {
*/
class IteratorImpl
{
+public:
+ /**
+ * Clone the object
+ * @return IteratorImpl*
+ */
+ virtual IteratorImpl *clone() = 0;
+
/**
* Increment position (pre-increment)
* @return bool