for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kubinashi\BattlenetApi\WorldOfWarcraft\CharacterProfileApi\Profession\Model;
/**
* @author Willy Reiche
* @since 2017-07-24
* @version 1.0
*/
class ProfessionValueObject
{
* @var string
private $id;
private $name;
private $icon;
private $rank;
private $max;
private $recipes;
* ProfessionValueObject constructor.
*
* @param string $id
* @param string $name
* @param string $icon
* @param string $rank
* @param string $max
* @param string $recipes
public function __construct(
$id,
$name,
$icon,
$rank,
$max,
$recipes
) {
$this->id = $id;
$this->name = $name;
$this->icon = $icon;
$this->rank = $rank;
$this->max = $max;
$this->recipes = $recipes;
}
* @return string
public function getId()
return $this->id;
public function getName()
return $this->name;
public function getIcon()
return $this->icon;
public function getRank()
return $this->rank;
public function getMax()
return $this->max;
public function getRecipes()
return $this->recipes;