/** * Gets the master parent category. * * @return array category */ public function getProductMasterparentCategorie() { return $this->product->getMasterparentCategory(); }