@@ 193-200 (lines=8) @@ | ||
190 | return $this; |
|
191 | } |
|
192 | ||
193 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 1) { |
|
194 | ||
195 | $key = snake_case($name); |
|
196 | ||
197 | array_set($this->parameters, "options.{$key}", array_shift($arguments)); |
|
198 | ||
199 | return $this; |
|
200 | } |
|
201 | ||
202 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 0) { |
|
203 | ||
@@ 202-210 (lines=9) @@ | ||
199 | return $this; |
|
200 | } |
|
201 | ||
202 | if (!method_exists($this->builder, camel_case($name)) && count($arguments) === 0) { |
|
203 | ||
204 | $key = snake_case($name); |
|
205 | ||
206 | // Helpful for form.disableLabels().disableFoo() ... |
|
207 | array_set($this->parameters, "options.{$key}", true); |
|
208 | ||
209 | return $this; |
|
210 | } |
|
211 | ||
212 | return $this; |
|
213 | } |