class DocumentThumbnailGenerator extends AbstractThumbnailGenerator (View source)

A system-generated preview version of a Document (PDF, AI and EPS)

Properties

protected Environment $environment from  AbstractThumbnailGenerator
protected ImagineInterface $imagineService from  AbstractThumbnailGenerator
protected ResourceManager $resourceManager from  AbstractThumbnailGenerator
static protected int $priority

The priority for this thumbnail generator.

protected array $options from  AbstractThumbnailGenerator

Methods

static int
getPriority()

No description

mixed
getOption(string $key)

No description

bool
canRefresh(Thumbnail $thumbnail)

No description

bool
isExtensionSupported(Thumbnail $thumbnail)

No description

void
refresh(Thumbnail $thumbnail)

No description

Details

static int getPriority()

No description

Return Value

int

protected mixed getOption(string $key)

No description

Parameters

string $key

Return Value

mixed

Exceptions

Exception

bool canRefresh(Thumbnail $thumbnail)

No description

Parameters

Thumbnail $thumbnail

Return Value

bool

true if this ThumbnailGenerator can convert the given thumbnail, false otherwise.

protected bool isExtensionSupported(Thumbnail $thumbnail)

No description

Parameters

Thumbnail $thumbnail

Return Value

bool

void refresh(Thumbnail $thumbnail)

No description

Parameters

Thumbnail $thumbnail

Return Value

void

Exceptions

NoThumbnailAvailableException