Returns the locale item for the current request
public getBackend ( Aimeos\MShop\Context\Item\Iface $context, string $site ) : Aimeos\MShop\Locale\Item\Iface | ||
$context | Aimeos\MShop\Context\Item\Iface | Context object |
$site | string | Unique site code |
return | Aimeos\MShop\Locale\Item\Iface | Locale item object |