Naming tweak

This commit is contained in:
Jeff Moser
2010-10-14 21:51:43 -04:00
parent 110463ad49
commit 455f2b3061
66 changed files with 24 additions and 26 deletions

View File

@ -0,0 +1,32 @@
<?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()
{
$value = &$this->_value;
return $value;
}
public function setValue(&$value)
{
$this->_value = &$value;
}
public function __toString()
{
return $this->_name;
}
}
?>