blob: b4aca166c80497e4e3709f1eebad4a1d479295fa (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/**
* Parameters.h
*
* Wrapper around parameters that are passed to a
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2013 Copernica BV
*/
/**
* Namespace
*/
namespace Php {
/**
* Forward declarations
*/
class Base;
/**
* Class definition
*/
class Parameters : public std::vector<Value>
{
public:
/**
* Constructor
* @param this_ptr Optional this_ptr
* @param argc Number of arguments
* @param tsrm_ls
*/
Parameters(struct _zval_struct *this_ptr, int argc);// TSRMLS_DC);
/**
* Destructor
*/
virtual ~Parameters() {}
/**
* The the object that is called
* @return Base
*/
Base *object();
private:
/**
* The this pointer
* @var zval
*/
struct _zval_struct *_this;
};
/**
* End of namespace
*/
}
|