| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function display($options = []) |
||
| 12 | { |
||
| 13 | return Admin::component('admin::grid.inline-edit.checkbox', [ |
||
| 14 | 'key' => $this->getKey(), |
||
| 15 | 'name' => $this->getPayloadName(), |
||
| 16 | 'resource' => $this->getResource(), |
||
| 17 | 'trigger' => "ie-trigger-{$this->getClassName()}", |
||
| 18 | 'target' => "ie-content-{$this->getClassName()}-{$this->getKey()}", |
||
| 19 | 'value' => json_encode($this->getValue()), |
||
| 20 | 'display' => implode(';', Arr::only($options, $this->getValue())), |
||
| 21 | 'options' => $options, |
||
| 22 | ]); |
||
| 23 | } |
||
| 24 | } |
||
| 25 |