| @@ 299-312 (lines=14) @@ | ||
| 296 | * | |
| 297 | * @return ProgressionValueObject | |
| 298 | */ | |
| 299 | public function getProgression() | |
| 300 |     { | |
| 301 |         $requestModel = $this->prepareRequestModel('progression'); | |
| 302 | $response = $this->requestService->doRequest($requestModel); | |
| 303 | $responseObject = json_decode($response); | |
| 304 | ||
| 305 | $raids = $this->prepareRaidValueObject($responseObject); | |
| 306 | ||
| 307 | $progression = new ProgressionValueObject( | |
| 308 | $raids | |
| 309 | ); | |
| 310 | ||
| 311 | return $progression; | |
| 312 | } | |
| 313 | ||
| 314 | /** | |
| 315 | * A map of pvp information including arena team membership and rated battlegrounds information | |
| @@ 319-332 (lines=14) @@ | ||
| 316 | * | |
| 317 | * @return PvpValueObject | |
| 318 | */ | |
| 319 | public function getPvp() | |
| 320 |     { | |
| 321 |         $requestModel = $this->prepareRequestModel('pvp'); | |
| 322 | $response = $this->requestService->doRequest($requestModel); | |
| 323 | $responseObject = json_decode($response); | |
| 324 | ||
| 325 | $brackets = $this->prepareBracketValueObject($responseObject); | |
| 326 | ||
| 327 | $progression = new PvpValueObject( | |
| 328 | $brackets | |
| 329 | ); | |
| 330 | ||
| 331 | return $progression; | |
| 332 | } | |
| 333 | ||
| 334 | /** | |
| 335 | * A list of quests completed by the character | |
| @@ 339-350 (lines=12) @@ | ||
| 336 | * | |
| 337 | * @return QuestsValueObject | |
| 338 | */ | |
| 339 | public function getQuests() | |
| 340 |     { | |
| 341 |         $requestModel = $this->prepareRequestModel('quests'); | |
| 342 | $response = $this->requestService->doRequest($requestModel); | |
| 343 | $responseObject = json_decode($response); | |
| 344 | ||
| 345 | $quests = new QuestsValueObject( | |
| 346 | $responseObject->quests | |
| 347 | ); | |
| 348 | ||
| 349 | return $quests; | |
| 350 | } | |
| 351 | ||
| 352 | /** | |
| 353 | * A list of the factions that the character has an associated reputation with | |