summaryrefslogtreecommitdiff
path: root/zend/constant.cpp
blob: a5358c699e6863015a1cf614edeb7ae5c9e0b20a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
 */
}