class ThumbnailGeneratorStrategy (View source)

A strategy to detect the correct thumbnail generator

Properties

protected ObjectManagerInterface $objectManager
protected LoggerInterface $logger
protected ThrowableStorageInterface $throwableStorage

Methods

void
refresh(Thumbnail $thumbnail)

Refresh the given thumbnail

getThumbnailGeneratorClassNames(ObjectManagerInterface $objectManager)

Returns all class names implementing the ThumbnailGeneratorInterface.

Details

void refresh(Thumbnail $thumbnail)

Refresh the given thumbnail

Parameters

Thumbnail $thumbnail

Return Value

void

static ThumbnailGeneratorInterface[] getThumbnailGeneratorClassNames(ObjectManagerInterface $objectManager)

Returns all class names implementing the ThumbnailGeneratorInterface.

Parameters

ObjectManagerInterface $objectManager

Return Value

ThumbnailGeneratorInterface[]