1 | <?php |
||
14 | class Quest implements QuestInterface |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $id; |
||
18 | |||
19 | /** @var string */ |
||
20 | protected $title; |
||
21 | |||
22 | /** @var string */ |
||
23 | protected $description; |
||
24 | |||
25 | /** @var int */ |
||
26 | protected $reward; |
||
27 | |||
28 | /** @var \DateTime */ |
||
29 | protected $startDate; |
||
30 | |||
31 | /** @var \DateTime */ |
||
32 | protected $endDate; |
||
33 | |||
34 | /** @var ArrayCollection */ |
||
35 | protected $tags; |
||
36 | |||
37 | /** @var ArrayCollection */ |
||
38 | protected $completions; |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function getId() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getTitle() |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function setTitle($title) |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function getDescription() |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function setDescription($description) |
||
83 | |||
84 | /** |
||
85 | * {@inheritdoc} |
||
86 | */ |
||
87 | public function getReward() |
||
91 | |||
92 | /** |
||
93 | * {@inheritdoc} |
||
94 | */ |
||
95 | public function setReward($reward) |
||
101 | |||
102 | /** |
||
103 | * {@inheritdoc} |
||
104 | */ |
||
105 | public function getStartDate() |
||
109 | |||
110 | /** |
||
111 | * {@inheritdoc} |
||
112 | */ |
||
113 | public function setStartDate($startDate) |
||
119 | |||
120 | /** |
||
121 | * {@inheritdoc} |
||
122 | */ |
||
123 | public function getEndDate() |
||
127 | |||
128 | /** |
||
129 | * {@inheritdoc} |
||
130 | */ |
||
131 | public function setEndDate($endDate) |
||
137 | |||
138 | /** |
||
139 | * {@inheritdoc} |
||
140 | */ |
||
141 | public function addTag(TagInterface $tag) |
||
147 | |||
148 | /** |
||
149 | * {@inheritdoc} |
||
150 | */ |
||
151 | public function setTags(ArrayCollection $tags) |
||
155 | |||
156 | /** |
||
157 | * {@inheritdoc} |
||
158 | */ |
||
159 | public function getTags() |
||
163 | |||
164 | /** |
||
165 | * {@inheritdoc} |
||
166 | */ |
||
167 | public function getCompletions() |
||
171 | |||
172 | /** |
||
173 | * {@inheritdoc} |
||
174 | */ |
||
175 | public function setCompletions($completions) |
||
179 | |||
180 | /** |
||
181 | * {@inheritdoc} |
||
182 | */ |
||
183 | public function getApprovedCompletionsCount() |
||
189 | } |
||
190 |