ImagePathTranslator
in package
Class ImagePathTranslator
Table of Contents
- $baseUrl : mixed
- __construct() : mixed
- ImagePathTranslator constructor.
- translateContent() : void
- absolutePathForThumbnail() : string
- fallbackImage() : string
Properties
$baseUrl
protected
mixed
$baseUrl
Methods
__construct()
ImagePathTranslator constructor.
public
__construct(ShopBaseUrl $baseUrl) : mixed
Parameters
- $baseUrl : ShopBaseUrl
Return values
mixed —translateContent()
public
translateContent(stdClass $themeConfig) : void
Parameters
- $themeConfig : stdClass
Return values
void —absolutePathForThumbnail()
protected
absolutePathForThumbnail( $themeConfig) : string
Parameters
Return values
string —fallbackImage()
protected
fallbackImage() : string