public function unserialize($data) { $this->timestamp = unserialize($data); $this->mongoDate = new MongoUTCDateTime($this->timestamp); }