|
@@ 198-203 (lines=6) @@
|
| 195 |
|
public function __call($name, $arguments) |
| 196 |
|
{ |
| 197 |
|
|
| 198 |
|
if (method_exists($this->builder, camel_case('set_' . $name))) { |
| 199 |
|
|
| 200 |
|
array_set($this->parameters, $name, array_shift($arguments)); |
| 201 |
|
|
| 202 |
|
return $this; |
| 203 |
|
} |
| 204 |
|
|
| 205 |
|
if (method_exists($this->builder, camel_case('add_' . $name))) { |
| 206 |
|
|
|
@@ 205-210 (lines=6) @@
|
| 202 |
|
return $this; |
| 203 |
|
} |
| 204 |
|
|
| 205 |
|
if (method_exists($this->builder, camel_case('add_' . $name))) { |
| 206 |
|
|
| 207 |
|
array_set($this->parameters, $name, array_shift($arguments)); |
| 208 |
|
|
| 209 |
|
return $this; |
| 210 |
|
} |
| 211 |
|
|
| 212 |
|
if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 1) { |
| 213 |
|
|