|
@@ 226-231 (lines=6) @@
|
| 223 |
|
public function __call($name, $arguments) |
| 224 |
|
{ |
| 225 |
|
|
| 226 |
|
if (method_exists($this->builder, camel_case('set_' . $name))) { |
| 227 |
|
|
| 228 |
|
array_set($this->parameters, $name, array_shift($arguments)); |
| 229 |
|
|
| 230 |
|
return $this; |
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
if (method_exists($this->builder, camel_case('add_' . $name))) { |
| 234 |
|
|
|
@@ 233-238 (lines=6) @@
|
| 230 |
|
return $this; |
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
if (method_exists($this->builder, camel_case('add_' . $name))) { |
| 234 |
|
|
| 235 |
|
array_set($this->parameters, $name, array_shift($arguments)); |
| 236 |
|
|
| 237 |
|
return $this; |
| 238 |
|
} |
| 239 |
|
|
| 240 |
|
if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 1) { |
| 241 |
|
|