From 8b94e46c8f044a21c18435525da84bee28594d1a Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Sat, 8 Mar 2014 10:54:44 +0100 Subject: implemented the Countable spl without using the actual spl --- include/countable.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/countable.h') 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 * @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; }; -- cgit v1.2.3