<?php
namespace Composer;
use Composer\Semver\VersionParser;
class InstalledVersions
{
private static $installed = array (
'root' =>
array (
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'aliases' =>
array (
),
'reference' => NULL,
'name' => 'visavi/rotor',
),
'versions' =>
array (
'alchemy/binary-driver' =>
array (
'pretty_version' => 'v5.2.0',
'version' => '5.2.0.0',
'aliases' =>
array (
),
'reference' => 'e0615cdff315e6b4b05ada67906df6262a020d22',
),
'cakephp/core' =>
array (
'pretty_version' => '4.2.5',
'version' => '4.2.5.0',
'aliases' =>
array (
),
'reference' => 'c0165c3a64d11f4f48ee61aaffd4a93c4b467927',
),
'cakephp/database' =>
array (
'pretty_version' => '4.2.5',
'version' => '4.2.5.0',
'aliases' =>
array (
),
'reference' => 'b2935208a9b15318a2dd497010ff28c2b73cdd2d',
),
'cakephp/datasource' =>
array (
'pretty_version' => '4.2.5',
'version' => '4.2.5.0',
'aliases' =>
array (
),
'reference' => '47aaa8b796dce35e2fe2547db4f8eb591220acd8',
),
'cakephp/utility' =>
array (
'pretty_version' => '4.2.5',
'version' => '4.2.5.0',
'aliases' =>
array (
),
'reference' => '4259ae4154e639557af751ae719d58253a79282a',
),
'cbschuld/browser.php' =>
array (
'pretty_version' => 'v1.9.6',
'version' => '1.9.6.0',
'aliases' =>
array (
),
'reference' => '9d07d6410977d494d7b8ecc2f3c877645c5477d9',
),
'composer/package-versions-deprecated' =>
array (
'pretty_version' => '1.11.99.1',
'version' => '1.11.99.1',
'aliases' =>
array (
),
'reference' => '7413f0b55a051e89485c5cb9f765fe24bb02a7b6',
),
'doctrine/cache' =>
array (
'pretty_version' => '1.10.2',
'version' => '1.10.2.0',
'aliases' =>
array (
),
'reference' => '13e3381b25847283a91948d04640543941309727',
),
'doctrine/dbal' =>
array (
'pretty_version' => '3.0.0',
'version' => '3.0.0.0',
'aliases' =>
array (
),
'reference' => 'ee6d1260d5cc20ec506455a585945d7bdb98662c',
),
'doctrine/event-manager' =>
array (
'pretty_version' => '1.1.1',
'version' => '1.1.1.0',
'aliases' =>
array (
),
'reference' => '41370af6a30faa9dc0368c4a6814d596e81aba7f',
),
'doctrine/inflector' =>
array (
'pretty_version' => '2.0.3',
'version' => '2.0.3.0',
'aliases' =>
array (
),
'reference' => '9cf661f4eb38f7c881cac67c75ea9b00bf97b210',
),
'dragonmantank/cron-expression' =>
array (
'pretty_version' => 'v2.3.1',
'version' => '2.3.1.0',
'aliases' =>
array (
),
'reference' => '65b2d8ee1f10915efb3b55597da3404f096acba2',
),
'evenement/evenement' =>
array (
'pretty_version' => 'v3.0.1',
'version' => '3.0.1.0',
'aliases' =>
array (
),
'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7',
),
'google/recaptcha' =>
array (
'pretty_version' => '1.2.4',
'version' => '1.2.4.0',
'aliases' =>
array (
),
'reference' => '614f25a9038be4f3f2da7cbfd778dc5b357d2419',
),
'graham-campbell/result-type' =>
array (
'pretty_version' => 'v1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => '7e279d2cd5d7fbb156ce46daada972355cea27bb',
),
'gregwar/captcha' =>
array (
'pretty_version' => 'v1.1.9',
'version' => '1.1.9.0',
'aliases' =>
array (
),
'reference' => '4bb668e6b40e3205a020ca5ee4ca8cff8b8780c5',
),
'guzzlehttp/guzzle' =>
array (
'pretty_version' => '7.3.0',
'version' => '7.3.0.0',
'aliases' =>
array (
),
'reference' => '7008573787b430c1c1f650e3722d9bba59967628',
),
'guzzlehttp/promises' =>
array (
'pretty_version' => '1.4.1',
'version' => '1.4.1.0',
'aliases' =>
array (
),
'reference' => '8e7d04f1f6450fef59366c399cfad4b9383aa30d',
),
'guzzlehttp/psr7' =>
array (
'pretty_version' => '1.8.1',
'version' => '1.8.1.0',
'aliases' =>
array (
),
'reference' => '35ea11d335fd638b5882ff1725228b3d35496ab1',
),
'illuminate/bus' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => 'c40f6133be4559049b03aaa8c7d95c37e1c5b893',
),
'illuminate/cache' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '8e7e15e726895a757f23602f410f4b28567214a8',
),
'illuminate/collections' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '591e31015a8b0731708c54411cb52d50a00b2bc3',
),
'illuminate/config' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '8441c542312b4d57220b1f942b947b6517c05008',
),
'illuminate/container' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '0e38ee1632d470e56aece0079e6e22d13e6bea8e',
),
'illuminate/contracts' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '5764f703ea8f74ced163125d810951cd5ef2b7e1',
),
'illuminate/database' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '41d31456142be497c4e6abd40b674be0162934b1',
),
'illuminate/events' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => 'bd2941d4d55f5d357b203dc2ed81ac5c138593dc',
),
'illuminate/filesystem' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '8ef5902052c5b3bb4a6c1c3afc399f30e7723cb8',
),
'illuminate/http' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '9884f35790531161fc7c6e3fa113fdbf69277e60',
),
'illuminate/log' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '34b9a55133d2ce166005ba7e61feb793dea3b01f',
),
'illuminate/macroable' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '300aa13c086f25116b5f3cde3ca54ff5c822fb05',
),
'illuminate/pagination' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => 'd01e751adfffc991c75945cea4b2022fbd8427da',
),
'illuminate/pipeline' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '23aeff5b26ae4aee3f370835c76bd0f4e93f71d2',
),
'illuminate/redis' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '8c4acca0e65b6a7eaaff1ecf9b6d8267b09004e2',
),
'illuminate/session' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => 'eea67de2088f6671980ac4dc22e9c229a9abc03c',
),
'illuminate/support' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '26aa01648f348df7b7988ee911cdf98bcaae8ea1',
),
'illuminate/translation' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '0fffa8b8f6eed8b4e17eac9d457befbcbae02b47',
),
'illuminate/view' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '696a1d6d2213be192429e97245a3d2bb4d6d1849',
),
'intervention/image' =>
array (
'pretty_version' => '2.5.1',
'version' => '2.5.1.0',
'aliases' =>
array (
),
'reference' => 'abbf18d5ab8367f96b3205ca3c89fb2fa598c69e',
),
'monolog/monolog' =>
array (
'pretty_version' => '2.2.0',
'version' => '2.2.0.0',
'aliases' =>
array (
),
'reference' => '1cb1cde8e8dd0f70cc0fe51354a59acad9302084',
),
'nelexa/zip' =>
array (
'pretty_version' => '3.3.3',
'version' => '3.3.3.0',
'aliases' =>
array (
),
'reference' => '501b52f6fc393a599b44ff348a42740e1eaac7c6',
),
'nesbot/carbon' =>
array (
'pretty_version' => '2.46.0',
'version' => '2.46.0.0',
'aliases' =>
array (
),
'reference' => '2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4',
),
'neutron/temporary-filesystem' =>
array (
'pretty_version' => '3.0',
'version' => '3.0.0.0',
'aliases' =>
array (
),
'reference' => '60e79adfd16f42f4b888e351ad49f9dcb959e3c2',
),
'nikic/fast-route' =>
array (
'pretty_version' => 'v1.3.0',
'version' => '1.3.0.0',
'aliases' =>
array (
),
'reference' => '181d480e08d9476e61381e04a71b34dc0432e812',
),
'ocramius/package-versions' =>
array (
'replaced' =>
array (
0 => '1.11.99',
),
),
'opis/closure' =>
array (
'pretty_version' => '3.6.2',
'version' => '3.6.2.0',
'aliases' =>
array (
),
'reference' => '06e2ebd25f2869e54a306dda991f7db58066f7f6',
),
'paragonie/random_compat' =>
array (
'pretty_version' => 'v9.99.100',
'version' => '9.99.100.0',
'aliases' =>
array (
),
'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a',
),
'php-di/invoker' =>
array (
'pretty_version' => '2.3.0',
'version' => '2.3.0.0',
'aliases' =>
array (
),
'reference' => '992fec6c56f2d1ad1ad5fee28267867c85bfb8f9',
),
'php-di/php-di' =>
array (
'pretty_version' => '6.3.1',
'version' => '6.3.1.0',
'aliases' =>
array (
),
'reference' => '78278800b18e7c5582fd4d4e629715f5eebbfcc0',
),
'php-di/phpdoc-reader' =>
array (
'pretty_version' => '2.2.1',
'version' => '2.2.1.0',
'aliases' =>
array (
),
'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c',
),
'php-ffmpeg/php-ffmpeg' =>
array (
'pretty_version' => 'v0.18.0',
'version' => '0.18.0.0',
'aliases' =>
array (
),
'reference' => 'edc0a7729d8818ed883e77b3d26ceb6d49ec41de',
),
'phpmailer/phpmailer' =>
array (
'pretty_version' => 'v6.4.0',
'version' => '6.4.0.0',
'aliases' =>
array (
),
'reference' => '050d430203105c27c30efd1dce7aa421ad882d01',
),
'phpoption/phpoption' =>
array (
'pretty_version' => '1.7.5',
'version' => '1.7.5.0',
'aliases' =>
array (
),
'reference' => '994ecccd8f3283ecf5ac33254543eb0ac946d525',
),
'psr/container' =>
array (
'pretty_version' => '1.1.1',
'version' => '1.1.1.0',
'aliases' =>
array (
),
'reference' => '8622567409010282b7aeebe4bb841fe98b58dcaf',
),
'psr/container-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
1 => '^1.0',
),
),
'psr/event-dispatcher' =>
array (
'pretty_version' => '1.0.0',
'version' => '1.0.0.0',
'aliases' =>
array (
),
'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0',
),
'psr/event-dispatcher-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
),
),
'psr/http-client' =>
array (
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => '2dfb5f6c5eff0e91e20e913f8c5452ed95b86621',
),
'psr/http-client-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
),
),
'psr/http-message' =>
array (
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
),
'psr/http-message-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
),
),
'psr/log' =>
array (
'pretty_version' => '1.1.3',
'version' => '1.1.3.0',
'aliases' =>
array (
),
'reference' => '0f73288fd15629204f9d42b7055f72dacbe811fc',
),
'psr/log-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
1 => '1.0.0',
),
),
'psr/simple-cache' =>
array (
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
),
'ralouphie/getallheaders' =>
array (
'pretty_version' => '3.0.3',
'version' => '3.0.3.0',
'aliases' =>
array (
),
'reference' => '120b605dfeb996808c31b6477290a714d356e822',
),
'robmorgan/phinx' =>
array (
'pretty_version' => '0.12.6',
'version' => '0.12.6.0',
'aliases' =>
array (
),
'reference' => '3519c5c8d36ec9d41915a9416d2d434adaa79690',
),
'symfony/config' =>
array (
'pretty_version' => 'v5.2.4',
'version' => '5.2.4.0',
'aliases' =>
array (
),
'reference' => '212d54675bf203ff8aef7d8cee8eecfb72f4a263',
),
'symfony/console' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '35f039df40a3b335ebf310f244cb242b3a83ac8d',
),
'symfony/deprecation-contracts' =>
array (
'pretty_version' => 'v2.2.0',
'version' => '2.2.0.0',
'aliases' =>
array (
),
'reference' => '5fa56b4074d1ae755beb55617ddafe6f5d78f665',
),
'symfony/error-handler' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => 'bdb7fb4188da7f4211e4b88350ba0dfdad002b03',
),
'symfony/event-dispatcher' =>
array (
'pretty_version' => 'v5.2.4',
'version' => '5.2.4.0',
'aliases' =>
array (
),
'reference' => 'd08d6ec121a425897951900ab692b612a61d6240',
),
'symfony/event-dispatcher-contracts' =>
array (
'pretty_version' => 'v2.2.0',
'version' => '2.2.0.0',
'aliases' =>
array (
),
'reference' => '0ba7d54483095a198fa51781bc608d17e84dffa2',
),
'symfony/event-dispatcher-implementation' =>
array (
'provided' =>
array (
0 => '2.0',
),
),
'symfony/filesystem' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '8c86a82f51658188119e62cff0a050a12d09836f',
),
'symfony/finder' =>
array (
'pretty_version' => 'v5.2.4',
'version' => '5.2.4.0',
'aliases' =>
array (
),
'reference' => '0d639a0943822626290d169965804f79400e6a04',
),
'symfony/http-client-contracts' =>
array (
'pretty_version' => 'v2.3.1',
'version' => '2.3.1.0',
'aliases' =>
array (
),
'reference' => '41db680a15018f9c1d4b23516059633ce280ca33',
),
'symfony/http-foundation' =>
array (
'pretty_version' => 'v5.2.4',
'version' => '5.2.4.0',
'aliases' =>
array (
),
'reference' => '54499baea7f7418bce7b5ec92770fd0799e8e9bf',
),
'symfony/http-kernel' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => 'f34de4c61ca46df73857f7f36b9a3805bdd7e3b2',
),
'symfony/mime' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '1b2092244374cbe48ae733673f2ca0818b37197b',
),
'symfony/polyfill-ctype' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => 'c6c942b1ac76c82448322025e084cadc56048b4e',
),
'symfony/polyfill-intl-grapheme' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => '5601e09b69f26c1828b13b6bb87cb07cddba3170',
),
'symfony/polyfill-intl-idn' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => '2d63434d922daf7da8dd863e7907e67ee3031483',
),
'symfony/polyfill-intl-normalizer' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => '43a0283138253ed1d48d352ab6d0bdb3f809f248',
),
'symfony/polyfill-mbstring' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => '5232de97ee3b75b0360528dae24e73db49566ab1',
),
'symfony/polyfill-php72' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => 'cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9',
),
'symfony/polyfill-php73' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => 'a678b42e92f86eca04b7fa4c0f6f19d097fb69e2',
),
'symfony/polyfill-php80' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => 'dc3063ba22c2a1fd2f45ed856374d79114998f91',
),
'symfony/process' =>
array (
'pretty_version' => 'v5.2.4',
'version' => '5.2.4.0',
'aliases' =>
array (
),
'reference' => '313a38f09c77fbcdc1d223e57d368cea76a2fd2f',
),
'symfony/service-contracts' =>
array (
'pretty_version' => 'v2.2.0',
'version' => '2.2.0.0',
'aliases' =>
array (
),
'reference' => 'd15da7ba4957ffb8f1747218be9e1a121fd298a1',
),
'symfony/string' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => 'ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572',
),
'symfony/translation' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '2cc7f45d96db9adfcf89adf4401d9dfed509f4e1',
),
'symfony/translation-contracts' =>
array (
'pretty_version' => 'v2.3.0',
'version' => '2.3.0.0',
'aliases' =>
array (
),
'reference' => 'e2eaa60b558f26a4b0354e1bbb25636efaaad105',
),
'symfony/translation-implementation' =>
array (
'provided' =>
array (
0 => '2.3',
),
),
'symfony/var-dumper' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '89412a68ea2e675b4e44f260a5666729f77f668e',
),
'visavi/cleanup' =>
array (
'pretty_version' => 'v1.5.2',
'version' => '1.5.2.0',
'aliases' =>
array (
),
'reference' => 'fc13c6376fabe61522d4a3cfeab90e8555c1fbd2',
),
'visavi/crontask' =>
array (
'pretty_version' => 'v1.2.0',
'version' => '1.2.0.0',
'aliases' =>
array (
),
'reference' => '372403f32ea5efdc447fe6ecbd6d015eb3ac2f5f',
),
'visavi/rotor' =>
array (
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'aliases' =>
array (
),
'reference' => NULL,
),
'vlucas/phpdotenv' =>
array (
'pretty_version' => 'v5.3.0',
'version' => '5.3.0.0',
'aliases' =>
array (
),
'reference' => 'b3eac5c7ac896e52deab4a99068e3f4ab12d9e56',
),
'voku/portable-ascii' =>
array (
'pretty_version' => '1.5.6',
'version' => '1.5.6.0',
'aliases' =>
array (
),
'reference' => '80953678b19901e5165c56752d087fc11526017c',
),
),
);
public static function getInstalledPackages()
{
return array_keys(self::$installed['versions']);
}
public static function isInstalled($packageName)
{
return isset(self::$installed['versions'][$packageName]);
}
public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
return $provided->matches($constraint);
}
public static function getVersionRanges($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
$ranges = array();
if (isset(self::$installed['versions'][$packageName]['pretty_version'])) {
$ranges[] = self::$installed['versions'][$packageName]['pretty_version'];
}
if (array_key_exists('aliases', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']);
}
if (array_key_exists('replaced', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']);
}
if (array_key_exists('provided', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']);
}
return implode(' || ', $ranges);
}
public static function getVersion($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
if (!isset(self::$installed['versions'][$packageName]['version'])) {
return null;
}
return self::$installed['versions'][$packageName]['version'];
}
public static function getPrettyVersion($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) {
return null;
}
return self::$installed['versions'][$packageName]['pretty_version'];
}
public static function getReference($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
if (!isset(self::$installed['versions'][$packageName]['reference'])) {
return null;
}
return self::$installed['versions'][$packageName]['reference'];
}
public static function getRootPackage()
{
return self::$installed['root'];
}
public static function getRawData()
{
return self::$installed;
}
public static function reload($data)
{
self::$installed = $data;
}
}