| 1 | <?php |
||
| 10 | class ContentFieldStrategy implements ThumbnailStrategy |
||
| 11 | { |
||
| 12 | /** @var \eZ\Publish\SPI\Repository\Strategy\ContentThumbnail\Field\ThumbnailStrategy[] */ |
||
| 13 | protected $strategies = []; |
||
| 14 | |||
| 15 | public function __construct(array $strategies = []) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @throws \eZ\Publish\Core\Base\Exceptions\NotFoundException |
||
| 22 | */ |
||
| 23 | public function getThumbnail(Field $field): ?Thumbnail |
||
| 31 | |||
| 32 | public function hasStrategy(string $fieldTypeIdentifier): bool |
||
| 36 | |||
| 37 | public function addStrategy(string $fieldTypeIdentifier, ThumbnailStrategy $thumbnailStrategy): void |
||
| 41 | |||
| 42 | public function setStrategies(array $thumbnailStrategies): void |
||
| 48 | } |