| @@ 26-35 (lines=10) @@ | ||
| 23 | *  | 
                                |
| 24 | * @return $this|mixed  | 
                                |
| 25 | */  | 
                                |
| 26 | public function options($options = [])  | 
                                |
| 27 |     { | 
                                |
| 28 |         if ($options instanceof Arrayable) { | 
                                |
| 29 | $options = $options->toArray();  | 
                                |
| 30 | }  | 
                                |
| 31 | ||
| 32 | $this->options = (array) $options;  | 
                                |
| 33 | ||
| 34 | return $this;  | 
                                |
| 35 | }  | 
                                |
| 36 | ||
| 37 | /**  | 
                                |
| 38 | * Set checked.  | 
                                |
| @@ 27-36 (lines=10) @@ | ||
| 24 | *  | 
                                |
| 25 | * @return $this  | 
                                |
| 26 | */  | 
                                |
| 27 | public function options($options = [])  | 
                                |
| 28 |     { | 
                                |
| 29 |         if ($options instanceof Arrayable) { | 
                                |
| 30 | $options = $options->toArray();  | 
                                |
| 31 | }  | 
                                |
| 32 | ||
| 33 | $this->options = (array) $options;  | 
                                |
| 34 | ||
| 35 | return $this;  | 
                                |
| 36 | }  | 
                                |
| 37 | ||
| 38 | /**  | 
                                |
| 39 | * Set checked.  | 
                                |
| @@ 27-36 (lines=10) @@ | ||
| 24 | *  | 
                                |
| 25 | * @param array $options  | 
                                |
| 26 | */  | 
                                |
| 27 | public function __construct($options = [])  | 
                                |
| 28 |     { | 
                                |
| 29 |         if ($options instanceof Arrayable) { | 
                                |
| 30 | $options = $options->toArray();  | 
                                |
| 31 | }  | 
                                |
| 32 | ||
| 33 | $this->options = (array) $options;  | 
                                |
| 34 | ||
| 35 | return $this;  | 
                                |
| 36 | }  | 
                                |
| 37 | ||
| 38 | /**  | 
                                |
| 39 | * Draw stacked radios.  | 
                                |
| @@ 420-429 (lines=10) @@ | ||
| 417 | *  | 
                                |
| 418 | * @return $this  | 
                                |
| 419 | */  | 
                                |
| 420 | public function options($options = [])  | 
                                |
| 421 |     { | 
                                |
| 422 |         if ($options instanceof Arrayable) { | 
                                |
| 423 | $options = $options->toArray();  | 
                                |
| 424 | }  | 
                                |
| 425 | ||
| 426 | $this->options = array_merge($this->options, $options);  | 
                                |
| 427 | ||
| 428 | return $this;  | 
                                |
| 429 | }  | 
                                |
| 430 | ||
| 431 | /**  | 
                                |
| 432 | * Set the field option checked.  | 
                                |