Méthode |
Description |
|
clearCache ( ) |
Clears the format cache. |
|
getFormatDefinition ( string $formatKey, string $locale = null, array $formatOptions = [] ) : array |
Returns a definition of a format with a given key. The returned formats contain
the passed format options merged into them. |
|
getFormatDefinitions ( string $locale = null, array $formatOptions = [] ) : array |
Returns all definitions of image formats. The returned formats contain the passed
format-options merged into them. |
|
getFormats ( integer $id, string $fileName, array $storageOptions, integer $version, integer $subVersion, string $mimeType ) : array |
|
|
getMediaProperties ( string $url ) : array |
Return media id and format. |
|
purge ( integer $idMedia, string $fileName, array $options ) : boolean |
Delete the image by the given parameters. |
|
returnImage ( integer $id, string $formatName ) : Response |
Return the image by a given url. |
|