public function getCreationDate() { if (!$this->creationDate) { $this->creationDate = time(); } return $this->creationDate; }