X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FEntity%2FEntries.php;h=9da5102cae34a1cfe4c0086e47b2d222cf023be8;hb=7df80cb32ca9b7d0fe452320ddc3563a1e373e2f;hp=712ff1262097d82404884287c505479417cc553d;hpb=ad4d1caa9e744af57ca58a4e57576533eb682d00;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Entity/Entries.php b/src/Wallabag/CoreBundle/Entity/Entries.php index 712ff126..9da5102c 100644 --- a/src/Wallabag/CoreBundle/Entity/Entries.php +++ b/src/Wallabag/CoreBundle/Entity/Entries.php @@ -10,6 +10,7 @@ use Symfony\Component\Validator\Constraints as Assert; * * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\EntriesRepository") * @ORM\Table(name="entries") + * */ class Entries { @@ -65,12 +66,10 @@ class Entries */ private $userId; - - /** * Get id * - * @return integer + * @return integer */ public function getId() { @@ -80,7 +79,7 @@ class Entries /** * Set title * - * @param string $title + * @param string $title * @return Entries */ public function setTitle($title) @@ -93,7 +92,7 @@ class Entries /** * Get title * - * @return string + * @return string */ public function getTitle() { @@ -103,7 +102,7 @@ class Entries /** * Set url * - * @param string $url + * @param string $url * @return Entries */ public function setUrl($url) @@ -116,7 +115,7 @@ class Entries /** * Get url * - * @return string + * @return string */ public function getUrl() { @@ -126,7 +125,7 @@ class Entries /** * Set isRead * - * @param string $isRead + * @param string $isRead * @return Entries */ public function setIsRead($isRead) @@ -139,7 +138,7 @@ class Entries /** * Get isRead * - * @return string + * @return string */ public function getIsRead() { @@ -149,13 +148,14 @@ class Entries public function toggleArchive() { $this->isRead = $this->getIsRead() ^ 1; + return $this; } /** * Set isFav * - * @param string $isFav + * @param string $isFav * @return Entries */ public function setIsFav($isFav) @@ -168,7 +168,7 @@ class Entries /** * Get isFav * - * @return string + * @return string */ public function getIsFav() { @@ -185,7 +185,7 @@ class Entries /** * Set content * - * @param string $content + * @param string $content * @return Entries */ public function setContent($content) @@ -198,7 +198,7 @@ class Entries /** * Get content * - * @return string + * @return string */ public function getContent() { @@ -208,7 +208,7 @@ class Entries /** * Set userId * - * @param string $userId + * @param string $userId * @return Entries */ public function setUserId($userId) @@ -221,7 +221,7 @@ class Entries /** * Get userId * - * @return string + * @return string */ public function getUserId() {