public function __construct() { $this->features = new ArrayCollection(); $this->categories = new ArrayCollection(); $this->related = new ArrayCollection(); }