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