diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-17 22:19:08 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-17 22:19:08 +0100 |
commit | 5fd8b29a1981d2d4f7c4e9925729fbe9f1c558bb (patch) | |
tree | e0738b3ebb653d1a7ae8a8c1f62f309f1895bfe5 /zend/constant.cpp | |
parent | 821e65d876cc0ce2b32471791b02d9f7cc784c99 (diff) |
added initial implementation for registering constants
Diffstat (limited to 'zend/constant.cpp')
-rw-r--r-- | zend/constant.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/zend/constant.cpp b/zend/constant.cpp new file mode 100644 index 0000000..a5358c6 --- /dev/null +++ b/zend/constant.cpp @@ -0,0 +1,28 @@ +/** + * Constant.cpp + * + * Implementation file for the constant class + * + * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com> + * @copyright 2015 Copernica BV + */ +#include "includes.h" + +/** + * Set up namespace + */ +namespace Php { + +/** + * Constructor + * @param name Constant name + * @param value Constant value + */ +Constant::Constant(const char *name, const Value &value) : + _impl(new ConstantImpl(name, value)) {} + +/** + * End of namespace + */ +} + |