return $this->isRead;
}
+ public function toggleArchive()
+ {
+ $this->isRead = $this->getIsRead() ^ 1;
+ return $this;
+ }
+
/**
* Set isFav
*
return $this->isFav;
}
+ public function toggleStar()
+ {
+ $this->isFav = $this->getIsFav() ^ 1;
+
+ return $this;
+ }
+
/**
* Set content
*