1 | <?php |
||
14 | class StringValue implements ValueInterface |
||
15 | { |
||
16 | /** |
||
17 | * The value. |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $value; |
||
22 | |||
23 | 67 | public function __construct($value) |
|
27 | |||
28 | 44 | public function getEscapedValue(): string |
|
47 | |||
48 | /** |
||
49 | * @param string $value |
||
50 | * |
||
51 | * @return $this |
||
52 | */ |
||
53 | 1 | public function setValue($value) |
|
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | 7 | public function getValue() |
|
67 | } |
||
68 |