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

25 lines
402 B
PHP
Raw Normal View History

<?php
namespace Skobkin\Bundle\PointToolsBundle\Entity;
/**
* Data Transfer Object for top users list
*/
class TopUserDTO
{
/**
* @var string
*/
public $login;
/**
* @var int
*/
public $subscribersCount;
public function __construct($login, $subscribersCount)
{
$this->login = $login;
$this->subscribersCount = $subscribersCount;
}
}