PHP Interface Neos\Media\Domain\Model\ThumbnailGenerator\ThumbnailGeneratorInterface

Show file Open project: neos/neos-development-collection

Public Methods

Method Description
canRefresh ( Thumbnail $thumbnail ) : boolean
getPriority ( ) : integer Return the priority of this ThumbnailGenerator. ThumbnailGenerator with a high priority are chosen before low priority.
refresh ( Thumbnail $thumbnail ) : void

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.

getPriority() public static method

Return the priority of this ThumbnailGenerator. ThumbnailGenerator with a high priority are chosen before low priority.
public static getPriority ( ) : integer
return integer

refresh() public method

public refresh ( Thumbnail $thumbnail ) : void
$thumbnail Neos\Media\Domain\Model\Thumbnail
return void