mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-04 10:12:28 +01: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; 
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
?>
 |