Property | Type | Description | |
---|---|---|---|
$async | boolean | ||
$configuration | array |
||
$configurationHash | string | ||
$generatorStrategy | |||
$originalAsset | |||
$resource | |||
$staticResource | Supports the 'resource://Package.Key/Public/File' format |
Method | Description | |
---|---|---|
__construct ( Neos\Media\Domain\Model\AssetInterface $originalAsset, |
Constructs a new Thumbnail | |
getConfigurationValue ( string $value ) : mixed | ||
getOriginalAsset ( ) : Neos\Media\Domain\Model\ImageInterface | Returns the Asset this thumbnail is derived from | |
getResource ( ) : |
PersistentResource of this thumbnail | |
getStaticResource ( ) : string | ||
initializeObject ( integer $initializationCause ) : void | Initializes this thumbnail | |
refresh ( ) : void | Refreshes this asset after the PersistentResource has been modified | |
setHeight ( integer $height ) : void | ||
setResource ( |
||
setStaticResource ( string $staticResource ) : void | ||
setWidth ( integer $width ) : void |
Method | Description | |
---|---|---|
emitThumbnailCreated ( |
Signals that a thumbnail was created. | |
setConfiguration ( |
public __construct ( Neos\Media\Domain\Model\AssetInterface $originalAsset, |
||
$originalAsset | Neos\Media\Domain\Model\AssetInterface | The original asset this variant is derived from |
$configuration |
protected emitThumbnailCreated ( |
||
$thumbnail | ||
return | void |
public getConfigurationValue ( string $value ) : mixed | ||
$value | string | |
return | mixed |
public getOriginalAsset ( ) : Neos\Media\Domain\Model\ImageInterface | ||
return | Neos\Media\Domain\Model\ImageInterface |
public getResource ( ) : |
||
return |
public initializeObject ( integer $initializationCause ) : void | ||
$initializationCause | integer | |
return | void |
protected setConfiguration ( |
||
$configuration | ||
return | void |
public setResource ( |
||
$resource | ||
return | void |
public setStaticResource ( string $staticResource ) : void | ||
$staticResource | string | |
return | void |
protected ThumbnailGeneratorStrategy,Neos\Media\Domain\Strategy $generatorStrategy | ||
return |
protected Asset,Neos\Media\Domain\Model $originalAsset | ||
return |
protected PersistentResource,Neos\Flow\ResourceManagement $resource | ||
return |