summaryrefslogtreecommitdiff
path: root/src/base.cpp
blob: 867fd9cf0e1e4dad09ca63d3388726d5c9f7be8b (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
29
/**
 *  Base.cpp
 *
 *  Implementation of the base class
 *
 *  @documentation private
 */
#include "includes.h"

/**
 *  Set up namespace
 */
namespace Php {

/**
 *  Convert the object to a Php::Value object (how it is used externally)
 *  @return Value
 */
Value Base::value() const
{
    // wrap the properties table, as a reference
    return Object(*_object->properties_table, true);
}

/**
 *  End of namespace
 */
}