name = $name; $this->success = ! ! $success; $this->message = $message; $this->blocker = ! ! $blocker; return $this; } /** * * @return string */ public function get_name() { return $this->name; } /** * * @return boolean */ public function is_ok() { return $this->success; } /** * * @return boolean */ public function is_blocker() { return $this->blocker; } /** * * @return string */ public function get_message() { return $this->message; } }