| Conditions | 3 |
| Paths | 4 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 13 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function show($arguments) |
||
| 21 | { |
||
| 22 | $this->extractArguments($arguments); |
||
| 23 | |||
| 24 | $view = $this->view ?: 'media::admin.fields.new-file-link-multiple'; |
||
| 25 | $zone = $this->zone; |
||
| 26 | |||
| 27 | if ($this->entity !== null) { |
||
| 28 | $media = $this->entity->filesByZone($this->zone)->get(); |
||
| 29 | } |
||
| 30 | |||
| 31 | return view($view, compact('media', 'zone')); |
||
| 32 | } |
||
| 33 | |||
| 45 |