summaryrefslogtreecommitdiff
path: root/src/classbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/classbase.cpp')
-rw-r--r--src/classbase.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/classbase.cpp b/src/classbase.cpp
index 8c5e238..da705b6 100644
--- a/src/classbase.cpp
+++ b/src/classbase.cpp
@@ -136,7 +136,6 @@ const struct _zend_function_entry *ClassBase::entries()
zend_function_entry *entry = &_entries[i++];
// let the function fill the entry
- // @todo check flags for the method
method->initialize(entry, _name);
}
@@ -199,9 +198,8 @@ void ClassBase::initialize()
#endif
// set access types flags for class
- // @todo something with the flags, but before or after the register_internal_class?
- //setFlags(entry, _type.getFlags());
-
+ _entry->ce_flags = flags;
+
// declare all member variables
for (auto &member : _members) member->initialize(_entry);
}