diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Tag.php | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index b1998ab6..f139bbac 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -390,7 +390,7 @@ class Entry | |||
390 | /** | 390 | /** |
391 | * @param bool $isPublic | 391 | * @param bool $isPublic |
392 | */ | 392 | */ |
393 | public function setPublic($isPublic) | 393 | public function setIsPublic($isPublic) |
394 | { | 394 | { |
395 | $this->isPublic = $isPublic; | 395 | $this->isPublic = $isPublic; |
396 | } | 396 | } |
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php index afe9e1b9..92442df6 100644 --- a/src/Wallabag/CoreBundle/Entity/Tag.php +++ b/src/Wallabag/CoreBundle/Entity/Tag.php | |||
@@ -51,6 +51,12 @@ class Tag | |||
51 | $this->user = $user; | 51 | $this->user = $user; |
52 | $this->entries = new ArrayCollection(); | 52 | $this->entries = new ArrayCollection(); |
53 | } | 53 | } |
54 | |||
55 | public function __toString() | ||
56 | { | ||
57 | return $this->label; | ||
58 | } | ||
59 | |||
54 | /** | 60 | /** |
55 | * Get id. | 61 | * Get id. |
56 | * | 62 | * |