public function __construct() { $this->products = new ArrayCollection(); $this->children = new ArrayCollection(); }