X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FEntity%2FTag.php;h=9d3c7a32105327cceccadecc0f74711d6d09c3ff;hb=e3c34bfc06f3ea266a418d6246560f15d3f73e2a;hp=29a5e4b5eb69e1b2b07ef1bb49608afce7469e7a;hpb=092ca70725b0263390e45c46f93828c613eca3f0;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php index 29a5e4b5..9d3c7a32 100644 --- a/src/Wallabag/CoreBundle/Entity/Tag.php +++ b/src/Wallabag/CoreBundle/Entity/Tag.php @@ -12,7 +12,7 @@ use Doctrine\Common\Collections\ArrayCollection; * Tag * * @XmlRoot("tag") - * @ORM\Table(name="tag") + * @ORM\Table * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\TagRepository") * @ExclusionPolicy("all") */ @@ -88,4 +88,12 @@ class Tag { $this->entries[] = $entry; } + + /** + * @return User + */ + public function getUser() + { + return $this->user; + } }