mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-16 01:47:39 +00:00
27 lines
409 B
PHP
27 lines
409 B
PHP
<?php
|
|
namespace Moserware\Skills\FactorGraphs;
|
|
|
|
class Message
|
|
{
|
|
private $_name;
|
|
private $_value;
|
|
|
|
public function __construct($value = null, $name = null)
|
|
{
|
|
$this->_name = $name;
|
|
$this->_value = $value;
|
|
}
|
|
|
|
public function getValue()
|
|
{
|
|
return $this->_value;
|
|
}
|
|
|
|
public function __toString()
|
|
{
|
|
return $this->_name;
|
|
}
|
|
}
|
|
|
|
?>
|