for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kubinashi\BattlenetApi\WorldOfWarcraft\CharacterProfileApi\Pvp\Model;
/**
* @author Willy Reiche
* @since 2017-07-28
* @version 1.0
*/
class BracketValueObject
{
* @var string
private $slug;
* @var int
private $rating;
private $weeklyPlayed;
private $weeklyWon;
private $weeklyLost;
private $seasonPlayed;
private $seasonWon;
private $seasonLost;
* BracketValueObject constructor.
* @param string $slug
* @param int $rating
* @param int $weeklyPlayed
* @param int $weeklyWon
* @param int $weeklyLost
* @param int $seasonPlayed
* @param int $seasonWon
* @param int $seasonLost
public function __construct(
$slug,
$rating,
$weeklyPlayed,
$weeklyWon,
$weeklyLost,
$seasonPlayed,
$seasonWon,
$seasonLost
) {
$this->slug = $slug;
$this->rating = $rating;
$this->weeklyPlayed = $weeklyPlayed;
$this->weeklyWon = $weeklyWon;
$this->weeklyLost = $weeklyLost;
$this->seasonPlayed = $seasonPlayed;
$this->seasonWon = $seasonWon;
$this->seasonLost = $seasonLost;
}
* @return string
public function getSlug()
return $this->slug;
* @return int
public function getRating()
return $this->rating;
public function getWeeklyPlayed()
return $this->weeklyPlayed;
public function getWeeklyWon()
return $this->weeklyWon;
public function getWeeklyLost()
return $this->weeklyLost;
public function getSeasonPlayed()
return $this->seasonPlayed;
public function getSeasonWon()
return $this->seasonWon;
public function getSeasonLost()
return $this->seasonLost;