enigma hash

This commit is contained in:
Simon Vieille 2016-01-13 21:07:38 +01:00
parent 4545ebb043
commit 188600a044

View file

@ -34,6 +34,13 @@ class Enigma
* @ORM\Column(name="content", type="string", length=255) * @ORM\Column(name="content", type="string", length=255)
*/ */
private $content; private $content;
/**
* @var string
*
* @ORM\Column(name="hash", type="string", length=32)
*/
private $hash;
/** /**
@ -93,4 +100,28 @@ class Enigma
{ {
return $this->content; return $this->content;
} }
/**
* Set hash
*
* @param string $hash
*
* @return Enigma
*/
public function setHash($hash)
{
$this->hash = $hash;
return $this;
}
/**
* Get hash
*
* @return string
*/
public function getHash()
{
return $this->hash;
}
} }