summaryrefslogtreecommitdiff
path: root/src/classbase.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-02 23:21:16 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-02 23:21:16 +0200
commit2e4318b5ecae22b6bc0f04dfc116ff3e4647b1e8 (patch)
treed93a7d146fb0555b45e70780ac69f6df6dedcc3a /src/classbase.cpp
parenta3bd6dc04d5210ddeffdda5884f51c0e5b37ec27 (diff)
it now is possible to register a class as base class (although not yet working) (request from issue #52)
Diffstat (limited to 'src/classbase.cpp')
-rw-r--r--src/classbase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/classbase.cpp b/src/classbase.cpp
index c753c34..18d81d5 100644
--- a/src/classbase.cpp
+++ b/src/classbase.cpp
@@ -118,6 +118,12 @@ void ClassBase::property(const char *name, const getter_callback_1 &getter, cons
void ClassBase::implements(const ClassBase &interface) { _impl->implements(interface._impl); }
/**
+ * Set the base class
+ * @param base Php::Class object that is the base
+ */
+void ClassBase::extends(const ClassBase &base) { _impl->extends(base._impl); }
+
+/**
* End namespace
*/
}