| 1 | <?php |
||
| 8 | class ThumbnailChainStrategy implements ThumbnailStrategy |
||
| 9 | { |
||
| 10 | protected $strategies = []; |
||
| 11 | |||
| 12 | public function __construct(array $strategies) |
||
| 16 | |||
| 17 | public function getThumbnail(ContentType $contentType, array $fields): ?string |
||
| 32 | |||
| 33 | public function setStrategies(array $strategies): void |
||
| 41 | |||
| 42 | public function addStrategy(ThumbnailStrategy $strategy, int $priority = 0): void |
||
| 48 | } |