| 1 | <?php |
||
| 13 | final class Versions |
||
| 14 | { |
||
| 15 | const VERSIONS = []; |
||
| 16 | |||
| 17 | private function __construct() |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @throws \OutOfBoundsException if a version cannot be located |
||
| 23 | * @throws \UnexpectedValueException if the composer.lock file could not be located |
||
| 24 | */ |
||
| 25 | 2 | public static function getVersion(string $packageName) : string |
|
| 29 | } |
||
| 30 |