getMessage()); } public function getTimestamp() { return $this->_timestamp; } public function getType() { return $this->_type; } public function getMessage() { return $this->_message; } public function setTimestamp($timestamp) { $this->_timestamp = $timestamp; } public function setType($type) { $this->_type = $type; } public function setMessage($message) { $this->_message = $message; } public function getIsNew() { return $this->_isNew; } public function setIsNew($isNew) { $this->_isNew = $isNew; } public function populate($data) { foreach ($data as $prop => $value) { if (property_exists($this, $prop)) { $this->$prop = $value; } } } }