@@ 213-219 (lines=7) @@ | ||
210 | * |
|
211 | * @return Collection\Model\CollectionValueObject |
|
212 | */ |
|
213 | public function getMounts() |
|
214 | { |
|
215 | $responseObject = $this->prepareResponseObject('mounts'); |
|
216 | $collectionService = new CollectionService(); |
|
217 | ||
218 | return $collectionService->prepareCollectionValueObject($responseObject->mounts, CollectionService::MOUNT); |
|
219 | } |
|
220 | ||
221 | /** |
|
222 | * A list of the battle pets obtained by the character |
|
@@ 226-232 (lines=7) @@ | ||
223 | * |
|
224 | * @return Collection\Model\CollectionValueObject |
|
225 | */ |
|
226 | public function getPets() |
|
227 | { |
|
228 | $responseObject = $this->prepareResponseObject('pets'); |
|
229 | $collectionService = new CollectionService(); |
|
230 | ||
231 | return $collectionService->prepareCollectionValueObject($responseObject->pets, CollectionService::PET); |
|
232 | } |
|
233 | ||
234 | /** |
|
235 | * Data about the current battle pet slots on this characters account |