使用上下文访问 Prestashop 配置值

Using context to access Prestashop config values

我正在尝试使用 $this->context->shop 访问 prestashop 商店名称。

是否可以或您会推荐使用 Configuration:: class?

在非多站点环境中,推荐使用

   Configuration::get('PS_SHOP_NAME')