diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-25 18:38:35 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-25 18:38:35 +0100 |
commit | 3e6fb6ef89600abf2a282396384aab80ec9390ce (patch) | |
tree | fb15a9b4a5379823f787beccc0f34d6ebd8af74c /include/classbase.h | |
parent | 089c92358d4f43f1715d94244acb4d665fe50d29 (diff) |
Php::Constant objects can now also be added to a Php::Class to create class constants
Diffstat (limited to 'include/classbase.h')
-rw-r--r-- | include/classbase.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/classbase.h b/include/classbase.h index 1129298..a70157f 100644 --- a/include/classbase.h +++ b/include/classbase.h @@ -273,6 +273,12 @@ private: * @var std::shared_ptr<ClassImpl> */ std::shared_ptr<ClassImpl> _impl; + + /** + * Constants can be used as class properties, and need access to private + * and protected methods + */ + friend class ConstantImpl; }; /** |