point-tools/src/Skobkin/Bundle/PointToolsBundle/DTO/TopUserDTO.php

41 lines
642 B
PHP
Raw Normal View History

<?php
namespace Skobkin\Bundle\PointToolsBundle\DTO;
/**
* Data Transfer Object for top users list
*/
class TopUserDTO
{
/**
* @var string
*/
2016-12-11 22:26:27 +00:00
private $login;
/**
* @var int
*/
2016-12-11 22:26:27 +00:00
private $subscribersCount;
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;
}
}