@@ 207-212 (lines=6) @@ | ||
204 | public function __call($name, $arguments) |
|
205 | { |
|
206 | ||
207 | if (method_exists($this->builder, camel_case('set_' . $name))) { |
|
208 | ||
209 | array_set($this->parameters, $name, array_shift($arguments)); |
|
210 | ||
211 | return $this; |
|
212 | } |
|
213 | ||
214 | if (method_exists($this->builder, camel_case('add_' . $name))) { |
|
215 | ||
@@ 214-219 (lines=6) @@ | ||
211 | return $this; |
|
212 | } |
|
213 | ||
214 | if (method_exists($this->builder, camel_case('add_' . $name))) { |
|
215 | ||
216 | array_set($this->parameters, $name, array_shift($arguments)); |
|
217 | ||
218 | return $this; |
|
219 | } |
|
220 | ||
221 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 1) { |
|
222 |