/** * Cleans all the generated fields of the data obkects */ public function clean() { $this->comment->clean(); if ($this->media !== null) { $this->media->clean(); } }