error; } /** * Returns the success status * * @return bool */ public function isSuccess() { return $this->success; } /** * Resets the object properties * * @return void */ public function reset() { $this->success = true; $this->error = ''; } }