public function __construct() { $this->children = new ArrayCollection(); $this->translations = new ArrayCollection(); $this->created = new \DateTime(); $this->updated = new \DateTime(); $this->articles = new ArrayCollection(); }