diff options
Diffstat (limited to 'src/memberinfo.h')
-rw-r--r-- | src/memberinfo.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/memberinfo.h b/src/memberinfo.h index 040f0de..1c4b59d 100644 --- a/src/memberinfo.h +++ b/src/memberinfo.h @@ -68,14 +68,23 @@ public: * @param flags Additional flags */ virtual void declare(struct _zend_class_entry *entry, const char *name, int size, int flags) {}; + + /** + * Virtual method to declare the constant property + * @param entry Class entry + * @param name Name of the member + * @param size Size of the name + * @param flags Additional flags + */ + virtual void declareConst(struct _zend_class_entry *entry, const char *name, int size) {}; /** * Fill a function entry object * @param entry Function entry * @param classname Name of the class - * @param pub Is this a public method? + * @param flags Is this a public method? */ - virtual void fill(struct _zend_function_entry *entry, const char *classname, bool pub) {}; + virtual void fill(struct _zend_function_entry *entry, const char *classname, int flags) {}; }; |