summaryrefslogtreecommitdiff
path: root/src/classimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/classimpl.cpp')
-rw-r--r--src/classimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/classimpl.cpp b/src/classimpl.cpp
index 1ee7b0b..f63ddec 100644
--- a/src/classimpl.cpp
+++ b/src/classimpl.cpp
@@ -1399,12 +1399,12 @@ void ClassImpl::initialize(ClassBase *base, const std::string &prefix TSRMLS_DC)
// register the class
_entry = zend_register_internal_class(&entry TSRMLS_CC);
-// // register the classes
-// for (auto &interface : _interfaces)
-// {
-// // register this interface
-// zend_class_implements(_entry, 1, interface->_entry);
-// }
+ // register the classes
+ for (auto &interface : _interfaces)
+ {
+ // register this interface
+ zend_class_implements(_entry, 1, interface->_entry);
+ }
// allocate doc comment to contain an empty string + a hidden pointer
if (!_comment)