public function setCaption($caption) { $this->lastModified = new \DateTime(); $this->caption = $caption; }