1 | <?php |
||
26 | class Comment extends AbstractModel implements CommentInterface |
||
27 | { |
||
28 | /** |
||
29 | * Created at. |
||
30 | * |
||
31 | * @var \DateTime |
||
32 | */ |
||
33 | protected $createdAt; |
||
34 | |||
35 | /** |
||
36 | * The description. |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $description; |
||
41 | |||
42 | /** |
||
43 | * The issue. |
||
44 | * |
||
45 | * @var \Kreta\Component\Issue\Model\Interfaces\IssueInterface |
||
46 | */ |
||
47 | protected $issue; |
||
48 | |||
49 | /** |
||
50 | * Created at. |
||
51 | * |
||
52 | * @var \DateTime |
||
53 | */ |
||
54 | protected $updatedAt; |
||
55 | |||
56 | /** |
||
57 | * The owner. |
||
58 | * |
||
59 | * @var \Symfony\Component\Security\Core\User\UserInterface |
||
60 | */ |
||
61 | protected $writtenBy; |
||
62 | |||
63 | /** |
||
64 | * Constructor. |
||
65 | */ |
||
66 | public function __construct() |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public function getCreatedAt() |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | public function setCreatedAt(\DateTime $createdAt) |
||
88 | |||
89 | /** |
||
90 | * {@inheritdoc} |
||
91 | */ |
||
92 | public function getDescription() |
||
96 | |||
97 | /** |
||
98 | * {@inheritdoc} |
||
99 | */ |
||
100 | public function setDescription($description) |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public function getIssue() |
||
114 | |||
115 | /** |
||
116 | * {@inheritdoc} |
||
117 | */ |
||
118 | public function setIssue(IssueInterface $issue) |
||
124 | |||
125 | /** |
||
126 | * {@inheritdoc} |
||
127 | */ |
||
128 | public function getUpdatedAt() |
||
132 | |||
133 | /** |
||
134 | * {@inheritdoc} |
||
135 | */ |
||
136 | public function setUpdatedAt(\DateTime $updatedAt) |
||
142 | |||
143 | /** |
||
144 | * {@inheritdoc} |
||
145 | */ |
||
146 | public function getWrittenBy() |
||
150 | |||
151 | /** |
||
152 | * {@inheritdoc} |
||
153 | */ |
||
154 | public function setWrittenBy(UserInterface $writtenBy) |
||
160 | } |
||
161 |