1 | <?php declare(strict_types = 1); |
||
15 | class ConstantReference implements ReferenceInterface |
||
16 | { |
||
17 | /** @var string Value of reference */ |
||
18 | protected $value; |
||
19 | |||
20 | /** |
||
21 | * StringReference constructor. |
||
22 | * |
||
23 | * @param string $value |
||
24 | */ |
||
25 | 6 | public function __construct(string $value) |
|
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | 2 | public function getValue(): string |
|
37 | } |
||
38 |