aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Entry.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-26 09:41:42 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-06 21:09:15 +0100
commit092ca70725b0263390e45c46f93828c613eca3f0 (patch)
tree7b9fe8b824505b645bda6896a3589f09e25b1ccc /src/Wallabag/CoreBundle/Entity/Entry.php
parenta36737f4859e3acbddf5cfe90c279ba725a6d88a (diff)
downloadwallabag-092ca70725b0263390e45c46f93828c613eca3f0.tar.gz
wallabag-092ca70725b0263390e45c46f93828c613eca3f0.tar.zst
wallabag-092ca70725b0263390e45c46f93828c613eca3f0.zip
add relation between user and tags, tests are broken
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 229a6704..75aeae84 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -406,4 +406,9 @@ class Entry
406 $this->tags[] = $tag; 406 $this->tags[] = $tag;
407 $tag->addEntry($this); 407 $tag->addEntry($this);
408 } 408 }
409
410 public function removeTag(Tag $tag)
411 {
412 $this->tags->removeElement($tag);
413 }
409} 414}