1 | <?php |
||
15 | class Tag implements TagInterface |
||
16 | { |
||
17 | /** @var int */ |
||
18 | protected $id; |
||
19 | |||
20 | /** @var string */ |
||
21 | protected $name; |
||
22 | |||
23 | /** @var string */ |
||
24 | protected $code; |
||
25 | |||
26 | /** @var bool */ |
||
27 | protected $isDefault; |
||
28 | |||
29 | /** @var \DateTime */ |
||
30 | protected $createdAt; |
||
31 | |||
32 | /** @var BadgeInterface[] */ |
||
33 | protected $badges; |
||
34 | |||
35 | /** @var QuestInterface[] */ |
||
36 | protected $quests; |
||
37 | |||
38 | /** @var AdventureInterface[] */ |
||
39 | protected $adventures; |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function getId() |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function setName($name) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function getName() |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function setCode($code) |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | public function getCode() |
||
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | public function setIsDefault($isDefault) |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public function isDefault() |
||
102 | |||
103 | /** |
||
104 | * {@inheritdoc} |
||
105 | */ |
||
106 | public function setCreatedAt(\DateTime $createdAt) |
||
112 | |||
113 | /** |
||
114 | * {@inheritdoc} |
||
115 | */ |
||
116 | public function getCreatedAt() |
||
120 | |||
121 | /** |
||
122 | * {@inheritdoc} |
||
123 | */ |
||
124 | public function getBadges() |
||
128 | |||
129 | /** |
||
130 | * {@inheritdoc} |
||
131 | */ |
||
132 | public function setBadges(array $badges) |
||
136 | |||
137 | /** |
||
138 | * {@inheritdoc} |
||
139 | */ |
||
140 | public function getQuests() |
||
144 | |||
145 | /** |
||
146 | * {@inheritdoc} |
||
147 | */ |
||
148 | public function setQuests(array $quests) |
||
152 | |||
153 | /** |
||
154 | * {@inheritdoc} |
||
155 | */ |
||
156 | public function getAdventures() |
||
160 | |||
161 | /** |
||
162 | * {@inheritdoc} |
||
163 | */ |
||
164 | public function setAdventures($adventures) |
||
168 | |||
169 | /** |
||
170 | * @return string |
||
171 | */ |
||
172 | public function __toString() |
||
176 | } |
||
177 |