Class ProductImageFileStorage
Class ProductImageFileStorage
- AbstractFileStorage
- ┗ ImageFileStorage
- ┗ ProductImageFileStorage
Package: Product\Storages
Category: System
Located at Services/Core/Product/Storages/ProductImageFileStorage.inc.php
Category: System
Located at Services/Core/Product/Storages/ProductImageFileStorage.inc.php
Methods summary
public
__construct( ProductImagePathsSettingsInterface $settings, ProductImageProcessingInterface $processing )
AbstractFileStorage constructor.
public
importFile( ExistingFile $sourceFile, FilenameStringType $preferredFilename )
: string
Import File
public
renameFile( FilenameStringType $oldName, FilenameStringType $newName )
: ProductImageFileStorage
Rename File
public
processImage( FilenameStringType $productImage )
: ProductImageFileStorage
Processes an image for the front end.
Methods inherited from ImageFileStorage
_validateFile(),
_validateFilename()
Methods inherited from AbstractFileStorage
_createAndReturnNewFilename(),
fileExists(),
getFileList()