@@ 240-247 (lines=8) @@ | ||
237 | return $this; |
|
238 | } |
|
239 | ||
240 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 1) { |
|
241 | ||
242 | $key = snake_case($name); |
|
243 | ||
244 | array_set($this->parameters, "options.{$key}", array_shift($arguments)); |
|
245 | ||
246 | return $this; |
|
247 | } |
|
248 | ||
249 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 0) { |
|
250 | ||
@@ 249-257 (lines=9) @@ | ||
246 | return $this; |
|
247 | } |
|
248 | ||
249 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 0) { |
|
250 | ||
251 | $key = snake_case($name); |
|
252 | ||
253 | // Helpful for form.disableLabels().disableFoo() ... |
|
254 | array_set($this->parameters, "options.{$key}", true); |
|
255 | ||
256 | return $this; |
|
257 | } |
|
258 | ||
259 | return $this; |
|
260 | } |