1 | <?php |
||
18 | final class Versions |
||
19 | { |
||
20 | public const ROOT_PACKAGE_NAME = FallbackVersions::ROOT_PACKAGE_NAME; |
||
21 | public const VERSIONS = []; |
||
22 | |||
23 | private function __construct() |
||
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 |
||
35 | } |
||
36 |