strtoupper($this->status), 'message' => $this->message ]; } private function init() { $this->status = ""; $this->message = ""; } public function __construct() { $this->init(); } /** * Get the value of status */ public function getStatus() { return $this->status; } /** * Set the value of status * * @return self */ public function setStatus($status) { $this->status = $status; return $this; } /** * Get the value of messages */ public function getMessage() { return $this->message; } /** * Set the value of messages * * @return self */ public function setMessage($message) { $this->message = $message; return $this; } }