| 1 | <?php |
||
| 13 | * is not being replaced. |
||
| 14 | * |
||
| 15 | * If you are reading this docBlock inside your `vendor/` dir, then this means |
||
| 16 | * that PackageVersions didn't correctly install, and is in "fallback" mode. |
||
| 17 | */ |
||
| 18 | final class Versions |
||
| 19 | { |
||
| 20 | public const ROOT_PACKAGE_NAME = FallbackVersions::ROOT_PACKAGE_NAME; |
||
| 21 | public const VERSIONS = []; |
||
| 22 | |||
| 23 | private function __construct() |
||
| 24 | { |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @throws OutOfBoundsException if a version cannot be located. |
||
| 29 | * @throws UnexpectedValueException if the composer.lock file could not be located. |
||
| 30 | */ |
||
| 31 | public static function getVersion(string $packageName) : string |
||
| 36 |