aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Tag.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-06-08 16:35:41 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-06-08 16:35:41 +0200
commit9b9b05008a96a45bbf6da4c0c1c1b1244b83c6af (patch)
tree8b73ad50783cf8066ec4171367e2dd1e26026636 /src/Wallabag/CoreBundle/Entity/Tag.php
parent3cf22a05416b9994aa458ea045d232264006e7cf (diff)
parentac9d58211e1c6676485ef15d023215e5a465f3a8 (diff)
downloadwallabag-9b9b05008a96a45bbf6da4c0c1c1b1244b83c6af.tar.gz
wallabag-9b9b05008a96a45bbf6da4c0c1c1b1244b83c6af.tar.zst
wallabag-9b9b05008a96a45bbf6da4c0c1c1b1244b83c6af.zip
Merge branch 'v2-edit-title' into v2
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Tag.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Tag.php6
1 files changed, 6 insertions, 0 deletions
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 *