@@ 212-219 (lines=8) @@ | ||
209 | return $this; |
|
210 | } |
|
211 | ||
212 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 1) { |
|
213 | ||
214 | $key = snake_case($name); |
|
215 | ||
216 | array_set($this->parameters, "options.{$key}", array_shift($arguments)); |
|
217 | ||
218 | return $this; |
|
219 | } |
|
220 | ||
221 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 0) { |
|
222 | ||
@@ 221-229 (lines=9) @@ | ||
218 | return $this; |
|
219 | } |
|
220 | ||
221 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 0) { |
|
222 | ||
223 | $key = snake_case($name); |
|
224 | ||
225 | // Helpful for form.disableLabels().disableFoo() ... |
|
226 | array_set($this->parameters, "options.{$key}", true); |
|
227 | ||
228 | return $this; |
|
229 | } |
|
230 | ||
231 | return $this; |
|
232 | } |