assign tags to an entry

This commit is contained in:
Nicolas Lœuillet
2015-08-19 11:46:21 +02:00
committed by Jeremy Benoist
parent 109d67dbb1
commit 7244d6cb61
9 changed files with 186 additions and 2 deletions

View File

@ -96,6 +96,11 @@ class Tag
$this->entries[] = $entry;
}
public function hasEntry($entry)
{
return $this->entries->contains($entry);
}
/**
* @return User
*/