| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class InvalidStringRepresentationException extends VersionException |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The invalid string representation. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $version; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Sets the invalid string representation. |
||
| 23 | * |
||
| 24 | * @param string $version The string representation. |
||
| 25 | */ |
||
| 26 | public function __construct(string $version) |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Returns the invalid string representation. |
||
| 40 | * |
||
| 41 | * @return string The invalid string representation. |
||
| 42 | */ |
||
| 43 | public function getVersion(): string |
||
| 48 |