--- a/Model/Document.php Thu Oct 27 21:26:30 2011 +0200
+++ b/Model/Document.php Thu Oct 27 21:37:34 2011 +0200
@@ -10,6 +10,8 @@
namespace IRI\Bundle\WikiTagBundle\Model;
+use Doctrine\Common\Collections\ArrayCollection;
+
abstract class Document implements DocumentInterface {
/**
@@ -28,6 +30,11 @@
*/
protected $externalId;
+ /**
+ * @var ArrayCollection $tags
+ */
+ protected $tags;
+
/**
* Get id
@@ -78,4 +85,13 @@
return $this->externalId;
}
+ /**
+ * TODO: (non-PHPdoc)
+ * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::getTags()
+ */
+ function getTags()
+ {
+ return $this->tags;
+ }
+
}