--- a/Model/Document.php Tue Oct 25 12:20:47 2011 +0200
+++ b/Model/Document.php Wed Oct 26 15:38:05 2011 +0200
@@ -10,6 +10,8 @@
namespace IRI\Bundle\WikiTagBundle\Model;
+use Doctrine\Common\Collections\ArrayCollection;
+
abstract class Document implements BaseDocumentInterface {
/**
@@ -37,6 +39,11 @@
*/
protected $externalId;
+ /**
+ * @var ArrayCollection $tags
+ */
+ protected $tags;
+
/**
* Get id
@@ -126,4 +133,13 @@
return $this->externalId;
}
+ /**
+ * TODO: (non-PHPdoc)
+ * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::getTags()
+ */
+ function getTags()
+ {
+ return $this->tags;
+ }
+
}