+
+ public function getSlug()
+ {
+ return $this->slug;
+ }
+
+ public function addEntry(Entry $entry)
+ {
+ $this->entries[] = $entry;
+ }
+
+ public function hasEntry($entry)
+ {
+ return $this->entries->contains($entry);
+ }
+
+ /**
+ * Get entries for this tag.
+ *
+ * @return ArrayCollection<Entry>
+ */
+ public function getEntries()
+ {
+ return $this->entries;
+ }