summaryrefslogtreecommitdiff
path: root/include/countable.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-08 10:54:44 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-08 10:54:44 +0100
commit8b94e46c8f044a21c18435525da84bee28594d1a (patch)
tree4eb1165b907939d9fafc55ccf1215134debcfb84 /include/countable.h
parent7c32658df2fe777ba3ac20030cfce9d2f424caef (diff)
implemented the Countable spl without using the actual spl
Diffstat (limited to 'include/countable.h')
-rw-r--r--include/countable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/countable.h b/include/countable.h
index 1b99463..d4c1823 100644
--- a/include/countable.h
+++ b/include/countable.h
@@ -7,7 +7,7 @@
* class MyClass : public Php::Base, public Php::Countable { ... }
*
* You will have to implement the count() method, which should return the
- * number of elements in the class
+ * number of elements in the object
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2014 Copernica BV
@@ -26,9 +26,9 @@ class Countable
public:
/**
* Retrieve the number of items in the class
- * @return Value
+ * @return long
*/
- virtual Value count() = 0;
+ virtual long count() = 0;
};