@@ -263,8 +263,13 @@ abstract class ProductFamilyModel extends AbstractFullEntity implements ProductP | |||
public function __construct() | |||
{ | |||
$this->productCategories = new ArrayCollection(); | |||
$this->products = new ArrayCollection(); | |||
$this->qualityLabels = new ArrayCollection(); | |||
$this->initProducts(); | |||
} | |||
public function initProducts() | |||
{ | |||
$this->products = new ArrayCollection(); | |||
} | |||
public function __toString() |