Model/Document.php
changeset 14 673b2766024e
parent 3 976d922e52f0
child 20 985f1992895d
equal deleted inserted replaced
13:c288952a089f 14:673b2766024e
     7  * For the full copyright and license information, please view the LICENSE
     7  * For the full copyright and license information, please view the LICENSE
     8  * file that was distributed with this source code.
     8  * file that was distributed with this source code.
     9  */
     9  */
    10 
    10 
    11 namespace IRI\Bundle\WikiTagBundle\Model;
    11 namespace IRI\Bundle\WikiTagBundle\Model;
       
    12 
       
    13 use Doctrine\Common\Collections\ArrayCollection;
    12 
    14 
    13 abstract class Document implements BaseDocumentInterface {
    15 abstract class Document implements BaseDocumentInterface {
    14     
    16     
    15     /**
    17     /**
    16     * @var integer $id
    18     * @var integer $id
    34     
    36     
    35     /**
    37     /**
    36      * @var string $externalId
    38      * @var string $externalId
    37      */
    39      */
    38     protected $externalId;
    40     protected $externalId;
       
    41     
       
    42     /**
       
    43      * @var ArrayCollection $tags
       
    44      */
       
    45     protected $tags;
    39     
    46     
    40     
    47     
    41     /**
    48     /**
    42      * Get id
    49      * Get id
    43      *
    50      *
   124     function getExternalId()
   131     function getExternalId()
   125     {
   132     {
   126         return $this->externalId;
   133         return $this->externalId;
   127     }
   134     }
   128     
   135     
       
   136     /**
       
   137      * TODO: (non-PHPdoc)
       
   138      * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::getTags()
       
   139      */
       
   140     function getTags()
       
   141     {
       
   142         return $this->tags;
       
   143     }
       
   144     
   129 }
   145 }