summaryrefslogtreecommitdiff
path: root/zend/constant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zend/constant.cpp')
-rw-r--r--zend/constant.cpp28
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
+ */
+}
+