|
@@ 179-184 (lines=6) @@
|
| 176 |
|
public function __call($name, $arguments) |
| 177 |
|
{ |
| 178 |
|
|
| 179 |
|
if (method_exists($this->builder, camel_case('set_' . $name))) { |
| 180 |
|
|
| 181 |
|
array_set($this->parameters, $name, array_shift($arguments)); |
| 182 |
|
|
| 183 |
|
return $this; |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
if (method_exists($this->builder, camel_case('add_' . $name))) { |
| 187 |
|
|
|
@@ 186-191 (lines=6) @@
|
| 183 |
|
return $this; |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
if (method_exists($this->builder, camel_case('add_' . $name))) { |
| 187 |
|
|
| 188 |
|
array_set($this->parameters, $name, array_shift($arguments)); |
| 189 |
|
|
| 190 |
|
return $this; |
| 191 |
|
} |
| 192 |
|
|
| 193 |
|
if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 1) { |
| 194 |
|
|