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