Returns the current context
public get ( boolean $locale = true, string $type = 'frontend' ) : Aimeos\MShop\Context\Item\Iface | ||
$locale | boolean | True to add locale object to context, false if not (deprecated, use \Aimeos\Shop\Base\Locale) |
$type | string | Configuration type, i.e. "frontend" or "backend" (deprecated, use \Aimeos\Shop\Base\Config) |
return | Aimeos\MShop\Context\Item\Iface | Context object |