Mineplex2018-withcommit/Plugins/Mineplex.ChatSnapManager/web/report.php

61 lines
1.0 KiB
PHP
Raw Normal View History

<?php class Report
{
/** @var Int */
private $id;
2015-12-07 18:05:58 +01:00
/** @var String */
private $serverName;
2015-12-16 01:22:55 +01:00
/** @var Player */
private $suspect;
/** @var SplObjectStorage */
private $reporters;
/**
* Report constructor.
* @param Int $id
* @param String $serverName
2015-12-16 01:22:55 +01:00
* @param Player $suspect
* @param SplObjectStorage $reporters
*/
function Report($id, $serverName, $suspect, $reporters)
{
$this->id = $id;
$this->serverName = $serverName;
$this->suspect = $suspect;
$this->reporters = $reporters;
}
/**
* @return Int
*/
public function getId()
{
return $this->id;
}
/**
* @return String
*/
public function getServerName()
{
return $this->serverName;
}
/**
2015-12-16 01:22:55 +01:00
* @return Player
*/
public function getSuspect()
{
return $this->suspect;
}
/**
* @return SplObjectStorage
*/
public function getReporters()
{
return $this->reporters;
}
}