2015-05-31 06:16:10 +00:00
|
|
|
<?php
|
|
|
|
|
2016-03-23 16:59:06 +00:00
|
|
|
namespace Skobkin\Bundle\PointToolsBundle\DTO;
|
2015-05-31 06:16:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Data Transfer Object for top users list
|
|
|
|
*/
|
|
|
|
class TopUserDTO
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2016-12-11 22:26:27 +00:00
|
|
|
private $login;
|
2015-05-31 06:16:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var int
|
|
|
|
*/
|
2016-12-11 22:26:27 +00:00
|
|
|
private $subscribersCount;
|
2015-05-31 06:16:10 +00:00
|
|
|
|
|
|
|
public function __construct($login, $subscribersCount)
|
|
|
|
{
|
|
|
|
$this->login = $login;
|
|
|
|
$this->subscribersCount = $subscribersCount;
|
|
|
|
}
|
2016-12-11 22:26:27 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getLogin()
|
|
|
|
{
|
|
|
|
return $this->login;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getSubscribersCount()
|
|
|
|
{
|
|
|
|
return $this->subscribersCount;
|
|
|
|
}
|
2015-05-31 06:16:10 +00:00
|
|
|
}
|