for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kubinashi\BattlenetApi\WorldOfWarcraft\Model;
use Kubinashi\BattlenetApi\WorldOfWarcraft\Shared\Criteria\Model\CriteriaValueObject;
/**
* @author Willy Reiche
* @since 2017-08-22
* @version 1.0
*/
class AchievementValueObject
{
* @var int
private $id;
* @var string
private $title;
private $points;
private $description;
* @var string[]
private $rewardItems;
private $icon;
* @var CriteriaValueObject[]
private $criteria;
* @var bool
private $accountWide;
private $factionId;
* AchievementValueObject constructor.
* @param int $id
* @param string $title
* @param int $points
* @param string $description
* @param string[] $rewardItems
* @param string $icon
* @param CriteriaValueObject[] $criteria
* @param bool $accountWide
* @param int $factionId
public function __construct(
$id,
$title,
$points,
$description,
$rewardItems,
$icon,
$criteria,
$accountWide,
$factionId
) {
$this->id = $id;
$this->title = $title;
$this->points = $points;
$this->description = $description;
$this->rewardItems = $rewardItems;
$this->icon = $icon;
$this->criteria = $criteria;
$this->accountWide = $accountWide;
$this->factionId = $factionId;
}
* @return int
public function getId()
return $this->id;
* @return string
public function getTitle()
return $this->title;
public function getPoints()
return $this->points;
public function getDescription()
return $this->description;
* @return string[]
public function getRewardItems()
return $this->rewardItems;
public function getIcon()
return $this->icon;
* @return CriteriaValueObject[]
public function getCriteria()
return $this->criteria;
* @return bool
public function isAccountWide()
return $this->accountWide;
public function getFactionId()
return $this->factionId;