Total Complexity | 6 |
Total Lines | 68 |
Duplicated Lines | 0 % |
Coverage | 73.32% |
Changes | 0 |
1 | <?php |
||
19 | class SQLFunction |
||
20 | { |
||
21 | /** |
||
22 | * The SQL function name |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | private $function; |
||
27 | |||
28 | /** |
||
29 | * The arguments for the SQL function |
||
30 | * |
||
31 | * @var array |
||
32 | */ |
||
33 | private $arguments; |
||
34 | |||
35 | /** |
||
36 | * Returns the SQL function |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getFunction() |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Returns the arguments for the SQL function |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | public function getArguments() |
||
51 | { |
||
52 | return $this->arguments; |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * Constructor |
||
57 | * |
||
58 | * @param string $function |
||
59 | * @param array $args |
||
60 | * |
||
61 | * @return null |
||
62 | */ |
||
63 | 2 | public function __construct($function, Array $args) |
|
67 | 2 | } |
|
68 | |||
69 | /** |
||
70 | * Returns the SQL statment |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | 2 | public function getStatement() |
|
87 | } |
||
88 | } |