protected getThumbFilename ( $original, $extension, $alias, $width, $height ) : string | ||
$original | ||
$extension | ||
$alias | ||
$width | ||
$height | ||
return | string |
protected function getThumbFilename($original, $extension, $alias, $width, $height)
{
/** @var Module $module */
$module = Module::getInstance();
return strtr($module->thumbFilenameTemplate, ['{width}' => $width, '{height}' => $height, '{alias}' => $alias, '{original}' => $original, '{extension}' => $extension]);
}