PHP Class Neos\Media\Domain\Model\ThumbnailGenerator\AbstractThumbnailGenerator
A Thumbnail Generator is used to generate thumbnail based on constraints, like priority, file extension, ... You
can implement your own Generator. The output of a Generator must be an image, check existing Generators for
inspiration.
Exibir arquivo
Open project: neos/neos-development-collection
Protected Properties
Public Methods
Protected Methods
Method Details
canRefresh()
public method
public canRefresh ( Thumbnail $thumbnail ) : boolean |
$thumbnail |
Neos\Media\Domain\Model\Thumbnail |
|
return |
boolean |
TRUE if this ThumbnailGenerator can convert the given thumbnail, FALSE otherwise. |
getOption()
protected method
getPriority()
public static method
isExtensionSupported()
protected method
Property Details
$environment protected_oe property
protected Environment,Neos\Flow\Utility $environment |
return |
Neos\Flow\Utility\Environment |
|
$imagineService protected_oe property
protected ImagineInterface,Imagine\Image $imagineService |
return |
Imagine\Image\ImagineInterface |
|
$options protected_oe property
protected array $options |
return |
array |
|
$priority protected_oe static_oe property
The priority for this thumbnail generator.
protected static int $priority |
return |
integer |
|
$resourceManager protected_oe property
protected ResourceManager,Neos\Flow\ResourceManagement $resourceManager |
return |
Neos\Flow\ResourceManagement\ResourceManager |
|