Mineplex2018-withcommit/Plugins/Mineplex.ReportSite/user_report.php

42 lines
667 B
PHP
Raw Normal View History

<?php class UserReport
2016-06-30 23:23:29 +02:00
{
private $user;
private $time;
private $reason;
/**
* @param User $user
* @param DateTime $time
* @param String $reason
*/
function __construct($user, $time, $reason)
{
$this->user = $user;
$this->time = $time;
$this->reason = $reason;
}
/**
* @return User
*/
public function getUser()
{
return $this->user;
}
/**
* @return DateTime
*/
public function getTime()
{
return $this->time;
}
/**
* @return String
*/
public function getReason()
{
return $this->reason;
}
}