| 1 | <?php |
||
| 15 | final class Version |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Private constructor - this class is not meant to be instantiated |
||
| 19 | */ |
||
| 20 | private function __construct() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Retrieves the package version in the format <detected-version>@<commit-hash>, |
||
| 26 | * where the detected version is what composer could detect. |
||
| 27 | * |
||
| 28 | * @throws OutOfBoundsException |
||
| 29 | */ |
||
| 30 | public static function getVersion() : string |
||
| 34 | } |
||
| 35 |