1 | <?php namespace SimpleHash\Container; |
||
13 | class HashContainer implements HashContainerInterface |
||
14 | { |
||
15 | /** |
||
16 | * The hash string |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | private $hashString = ''; |
||
21 | |||
22 | /** |
||
23 | * Returns the hash string |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | 3 | public function getHashString() |
|
31 | |||
32 | /** |
||
33 | * Sets the hash string |
||
34 | * |
||
35 | * @param string $hashString |
||
36 | * @return HashContainerInterface |
||
37 | */ |
||
38 | 2 | public function setHashString($hashString) |
|
44 | |||
45 | /** |
||
46 | * Magic string method for direct compare |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | 2 | public function __toString() |
|
54 | } |