equal
deleted
inserted
replaced
1 <?php |
1 <?php |
2 |
2 |
3 namespace Company\BaseBundle\Entity; |
3 namespace Company\BaseBundle\Entity; |
4 |
4 |
5 use Doctrine\ORM\Mapping as ORM; |
5 use Doctrine\ORM\Mapping as ORM; |
|
6 use IRI\Bundle\WikiTagBundle\Model\DocumentInterface; |
6 |
7 |
7 /** |
8 /** |
8 * Company\BaseBundle\Entity\Document |
9 * Company\BaseBundle\Entity\Document |
9 * |
10 * |
10 * @ORM\Table() |
11 * @ORM\Table() |
11 * @ORM\Entity(repositoryClass="Company\BaseBundle\Entity\DocumentRepository") |
12 * @ORM\Entity(repositoryClass="Company\BaseBundle\Entity\DocumentRepository") |
12 */ |
13 */ |
13 class Document |
14 class Document implements DocumentInterface |
14 { |
15 { |
15 /** |
16 /** |
16 * @var integer $id |
17 * @var integer $id |
17 * |
18 * |
18 * @ORM\Column(name="id", type="integer") |
19 * @ORM\Column(name="id", type="integer") |
37 |
38 |
38 |
39 |
39 /** |
40 /** |
40 * Get id |
41 * Get id |
41 * |
42 * |
42 * @return integer |
43 * @return integer |
43 */ |
44 */ |
44 public function getId() |
45 public function getId() |
45 { |
46 { |
46 return $this->id; |
47 return $this->id; |
47 } |
48 } |
57 } |
58 } |
58 |
59 |
59 /** |
60 /** |
60 * Get title |
61 * Get title |
61 * |
62 * |
62 * @return string |
63 * @return string |
63 */ |
64 */ |
64 public function getTitle() |
65 public function getTitle() |
65 { |
66 { |
66 return $this->title; |
67 return $this->title; |
67 } |
68 } |
77 } |
78 } |
78 |
79 |
79 /** |
80 /** |
80 * Get description |
81 * Get description |
81 * |
82 * |
82 * @return text |
83 * @return text |
83 */ |
84 */ |
84 public function getDescription() |
85 public function getDescription() |
85 { |
86 { |
86 return $this->description; |
87 return $this->description; |
87 } |
88 } |