* Tag
*
* @XmlRoot("tag")
- * @ORM\Table(name="tag")
+ * @ORM\Table
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository")
* @ExclusionPolicy("all")
*/
{
$this->entries[] = $entry;
}
+
+ /**
+ * @return User
+ */
+ public function getUser()
+ {
+ return $this->user;
+ }
}