@@ 221-228 (lines=8) @@ | ||
218 | return $this; |
|
219 | } |
|
220 | ||
221 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 1) { |
|
222 | ||
223 | $key = snake_case($name); |
|
224 | ||
225 | array_set($this->parameters, "options.{$key}", array_shift($arguments)); |
|
226 | ||
227 | return $this; |
|
228 | } |
|
229 | ||
230 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 0) { |
|
231 | ||
@@ 230-238 (lines=9) @@ | ||
227 | return $this; |
|
228 | } |
|
229 | ||
230 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 0) { |
|
231 | ||
232 | $key = snake_case($name); |
|
233 | ||
234 | // Helpful for form.disableLabels().disableFoo() ... |
|
235 | array_set($this->parameters, "options.{$key}", true); |
|
236 | ||
237 | return $this; |
|
238 | } |
|
239 | ||
240 | return $this; |
|
241 | } |