Mineplex2018-withcommit/Plugins/Mineplex.ReportSite/reporter_reason.php
2016-07-07 17:49:06 -04:00

42 lines
671 B
PHP

<?php class ReporterReason
{
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;
}
}