Model/Document.php
changeset 20 985f1992895d
parent 17 81962874e172
parent 14 673b2766024e
child 23 b435f8055cb4
equal deleted inserted replaced
19:7051e55a3131 20:985f1992895d
     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 DocumentInterface {
    15 abstract class Document implements DocumentInterface {
    14     
    16     
    15     /**
    17     /**
    16     * @var integer $id
    18     * @var integer $id
    25     
    27     
    26     /**
    28     /**
    27      * @var string $externalId
    29      * @var string $externalId
    28      */
    30      */
    29     protected $externalId;
    31     protected $externalId;
       
    32     
       
    33     /**
       
    34      * @var ArrayCollection $tags
       
    35      */
       
    36     protected $tags;
    30     
    37     
    31     
    38     
    32     /**
    39     /**
    33      * Get id
    40      * Get id
    34      *
    41      *
    76     function getExternalId()
    83     function getExternalId()
    77     {
    84     {
    78         return $this->externalId;
    85         return $this->externalId;
    79     }
    86     }
    80     
    87     
       
    88     /**
       
    89      * TODO: (non-PHPdoc)
       
    90      * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::getTags()
       
    91      */
       
    92     function getTags()
       
    93     {
       
    94         return $this->tags;
       
    95     }
       
    96     
    81 }
    97 }