| 1 | <?php |
||
| 17 | class TypeValue extends AbstractValue |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * TypeValue constructor. |
||
| 21 | * @param TypeInterface $value |
||
| 22 | * @param int $offset |
||
| 23 | */ |
||
| 24 | public function __construct(TypeInterface $value, int $offset = 0) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function toString(): string |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function __toString(): string |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return TypeInterface |
||
| 47 | */ |
||
| 48 | public function getValue(): TypeInterface |
||
| 52 | } |
||
| 53 |