public function __construct($name, $info = null) { parent::__construct($name, $info); if (version_compare(Shopware::VERSION, '5.0.0', '>=')) { $searchInterceptor = new Shopware_Plugins_Frontend_Boxalino_SearchInterceptor($this); } else { $searchInterceptor = new Shopware_Plugins_Frontend_Boxalino_SearchInterceptor4($this); } $this->searchInterceptor = $searchInterceptor; $this->frontendInterceptor = new Shopware_Plugins_Frontend_Boxalino_FrontendInterceptor($this); }
public function __construct($name, $info = null) { $this->pluginConfig = json_decode($this->pluginConfig, true); parent::__construct($name, $info); }