| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function getThumbnail(Field $field): ?Thumbnail |
||
| 24 | { |
||
| 25 | if (!$this->hasStrategy($field->fieldTypeIdentifier)) { |
||
| 26 | throw new NotFoundException('Field\ThumbnailStrategy', $field->fieldTypeIdentifier); |
||
| 27 | } |
||
| 28 | |||
| 29 | return $this->strategies[$field->fieldTypeIdentifier]->getThumbnail($field); |
||
| 30 | } |
||
| 31 | |||
| 48 | } |