| 1 | <?php |
||
| 15 | class StringValue extends AbstractValue |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * ConstantValue constructor. |
||
| 19 | * @param string $value |
||
| 20 | * @param int $offset |
||
| 21 | */ |
||
| 22 | public function __construct(string $value, int $offset = 0) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function toString(): string |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function getValue(): string |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return string |
||
| 53 | */ |
||
| 54 | public function __toString(): string |
||
| 58 | } |
||
| 59 |