/** * {@inheritdoc} */ public function getCategoryCollection($product) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getCategoryCollection'); if (!$pluginInfo) { return parent::getCategoryCollection($product); } else { return $this->___callPlugins('getCategoryCollection', func_get_args(), $pluginInfo); } }