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