enigma hash
This commit is contained in:
parent
4545ebb043
commit
188600a044
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue