public function getTimeStamp() { if (trim($this->getText()) === '') { return null; } else { return $this->getTimeStampFromText(); } }