Model/Document.php
changeset 20 985f1992895d
parent 17 81962874e172
parent 14 673b2766024e
child 23 b435f8055cb4
--- 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;
+    }
+    
 }