<?php

namespace Composer;

use Composer\Semver\VersionParser;






class InstalledVersions
{
private static $installed = array (
  'root' => 
  array (
    'pretty_version' => 'dev-66ea412acfce21b5af08088509b5f691d3d9ff6d',
    'version' => 'dev-66ea412acfce21b5af08088509b5f691d3d9ff6d',
    'aliases' => 
    array (
    ),
    'reference' => '66ea412acfce21b5af08088509b5f691d3d9ff6d',
    'name' => 'synetics/i-doit',
  ),
  'versions' => 
  array (
    'composer/semver' => 
    array (
      'pretty_version' => '1.5.1',
      'version' => '1.5.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'c6bea70230ef4dd483e6bbcab6005f682ed3a8de',
    ),
    'dstuecken/notify' => 
    array (
      'pretty_version' => '1.0.3',
      'version' => '1.0.3.0',
      'aliases' => 
      array (
      ),
      'reference' => 'abccf0a6a272caf66baea74323f18e2212c6e11e',
    ),
    'ezyang/htmlpurifier' => 
    array (
      'pretty_version' => 'v4.12.0',
      'version' => '4.12.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'a617e55bc62a87eec73bd456d146d134ad716f03',
    ),
    'guzzlehttp/guzzle' => 
    array (
      'pretty_version' => '6.5.4',
      'version' => '6.5.4.0',
      'aliases' => 
      array (
      ),
      'reference' => 'a4a1b6930528a8f7ee03518e6442ec7a44155d9d',
    ),
    'guzzlehttp/promises' => 
    array (
      'pretty_version' => 'v1.3.1',
      'version' => '1.3.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'a59da6cf61d80060647ff4d3eb2c03a2bc694646',
    ),
    'guzzlehttp/psr7' => 
    array (
      'pretty_version' => '1.6.1',
      'version' => '1.6.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '239400de7a173fe9901b9ac7c06497751f00727a',
    ),
    'hackzilla/password-generator' => 
    array (
      'pretty_version' => '1.5.0',
      'version' => '1.5.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '22c7af49ef46d349d60af0fa30f61dd4dec53330',
    ),
    'ircmaxell/password-compat' => 
    array (
      'pretty_version' => 'v1.0.4',
      'version' => '1.0.4.0',
      'aliases' => 
      array (
      ),
      'reference' => '5c5cde8822a69545767f7c7f3058cb15ff84614c',
    ),
    'latitude/latitude' => 
    array (
      'pretty_version' => '0.7.0',
      'version' => '0.7.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '2639783049baa9d194c42bd687352e9d4f383317',
    ),
    'league/csv' => 
    array (
      'pretty_version' => '9.5.0',
      'version' => '9.5.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'b348d09d0d258a4f068efb50a2510dc63101c213',
    ),
    'monolog/monolog' => 
    array (
      'pretty_version' => '1.25.4',
      'version' => '1.25.4.0',
      'aliases' => 
      array (
      ),
      'reference' => '3022efff205e2448b560c833c6fbbf91c3139168',
    ),
    'mysql-php/errors' => 
    array (
      'pretty_version' => 'v1.0.0',
      'version' => '1.0.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '072f06c15bb22e10ab5b3fd66ec4a2334bdb6b79',
    ),
    'nesbot/carbon' => 
    array (
      'pretty_version' => '2.35.0',
      'version' => '2.35.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '4b9bd835261ef23d36397a46a76b496a458305e5',
    ),
    'pagerfanta/pagerfanta' => 
    array (
      'pretty_version' => 'v2.1.3',
      'version' => '2.1.3.0',
      'aliases' => 
      array (
      ),
      'reference' => 'a53ff01d521648d9dbca19b93ac6bc75a59b0972',
    ),
    'paragonie/random_compat' => 
    array (
      'pretty_version' => 'v9.99.99',
      'version' => '9.99.99.0',
      'aliases' => 
      array (
      ),
      'reference' => '84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95',
    ),
    'phpmailer/phpmailer' => 
    array (
      'pretty_version' => 'v5.2.28',
      'version' => '5.2.28.0',
      'aliases' => 
      array (
      ),
      'reference' => 'acba50393dd03da69a50226c139722af8b153b11',
    ),
    'phpseclib/phpseclib' => 
    array (
      'pretty_version' => '2.0.27',
      'version' => '2.0.27.0',
      'aliases' => 
      array (
      ),
      'reference' => '34620af4df7d1988d8f0d7e91f6c8a3bf931d8dc',
    ),
    'psr/container' => 
    array (
      'pretty_version' => '1.0.0',
      'version' => '1.0.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'b7ce3b176482dbbc1245ebf52b181af44c2cf55f',
    ),
    'psr/container-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.0',
        1 => '1.0',
      ),
    ),
    'ralouphie/getallheaders' => 
    array (
      'pretty_version' => '3.0.3',
      'version' => '3.0.3.0',
      'aliases' => 
      array (
      ),
      'reference' => '120b605dfeb996808c31b6477290a714d356e822',
    ),
    'simplepie/simplepie' => 
    array (
      'pretty_version' => '1.5.5',
      'version' => '1.5.5.0',
      'aliases' => 
      array (
      ),
      'reference' => 'ae49e2201b6da9c808e5dac437aca356a11831b4',
    ),
    'smarty/smarty' => 
    array (
      'pretty_version' => 'v3.1.36',
      'version' => '3.1.36.0',
      'aliases' => 
      array (
      ),
      'reference' => 'fd148f7ade295014fff77f89ee3d5b20d9d55451',
    ),
    'symfony/class-loader' => 
    array (
      'pretty_version' => 'v3.4.41',
      'version' => '3.4.41.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e4636a4f23f157278a19e5db160c63de0da297d8',
    ),
    'symfony/config' => 
    array (
      'pretty_version' => 'v3.4.41',
      'version' => '3.4.41.0',
      'aliases' => 
      array (
      ),
      'reference' => 'cd61db31cbd19cbe4ba9f6968f13c9076e1372ab',
    ),
    'symfony/console' => 
    array (
      'pretty_version' => 'v3.4.41',
      'version' => '3.4.41.0',
      'aliases' => 
      array (
      ),
      'reference' => 'bfe29ead7e7b1cc9ce74c6a40d06ad1f96fced13',
    ),
    'symfony/contracts' => 
    array (
      'pretty_version' => 'v1.1.0',
      'version' => '1.1.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd3636025e8253c6144358ec0a62773cae588395b',
    ),
    'symfony/debug' => 
    array (
      'pretty_version' => 'v4.4.9',
      'version' => '4.4.9.0',
      'aliases' => 
      array (
      ),
      'reference' => '28f92d08bb6d1fddf8158e02c194ad43870007e6',
    ),
    'symfony/dependency-injection' => 
    array (
      'pretty_version' => 'v3.4.41',
      'version' => '3.4.41.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e39380b7104b0ec538a075ae919f00c7e5267bac',
    ),
    'symfony/event-dispatcher' => 
    array (
      'pretty_version' => 'v3.4.41',
      'version' => '3.4.41.0',
      'aliases' => 
      array (
      ),
      'reference' => '14d978f8e8555f2de719c00eb65376be7d2e9081',
    ),
    'symfony/filesystem' => 
    array (
      'pretty_version' => 'v4.4.9',
      'version' => '4.4.9.0',
      'aliases' => 
      array (
      ),
      'reference' => 'b27f491309db5757816db672b256ea2e03677d30',
    ),
    'symfony/http-foundation' => 
    array (
      'pretty_version' => 'v3.4.41',
      'version' => '3.4.41.0',
      'aliases' => 
      array (
      ),
      'reference' => 'fbd216d2304b1a3fe38d6392b04729c8dd356359',
    ),
    'symfony/polyfill-ctype' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e94c8b1bbe2bc77507a1056cdb06451c75b427f9',
    ),
    'symfony/polyfill-iconv' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'c4de7601eefbf25f9d47190abe07f79fe0a27424',
    ),
    'symfony/polyfill-intl-idn' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '3bff59ea7047e925be6b7f2059d60af31bb46d6a',
    ),
    'symfony/polyfill-mbstring' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'fa79b11539418b02fc5e1897267673ba2c19419c',
    ),
    'symfony/polyfill-php56' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e3c8c138280cdfe4b81488441555583aa1984e23',
    ),
    'symfony/polyfill-php70' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '82225c2d7d23d7e70515496d249c0152679b468e',
    ),
    'symfony/polyfill-php72' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'f048e612a3905f34931127360bdd2def19a5e582',
    ),
    'symfony/polyfill-php80' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '5e30b2799bc1ad68f7feb62b60a73743589438dd',
    ),
    'symfony/polyfill-util' => 
    array (
      'pretty_version' => 'v1.17.0',
      'version' => '1.17.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '4afb4110fc037752cf0ce9869f9ab8162c4e20d7',
    ),
    'symfony/process' => 
    array (
      'pretty_version' => 'v4.4.11',
      'version' => '4.4.11.0',
      'aliases' => 
      array (
      ),
      'reference' => '65e70bab62f3da7089a8d4591fb23fbacacb3479',
    ),
    'symfony/security-core' => 
    array (
      'pretty_version' => 'v4.2.12',
      'version' => '4.2.12.0',
      'aliases' => 
      array (
      ),
      'reference' => '3ec42b5dbeee143715da686539751ea762dd8564',
    ),
    'symfony/security-csrf' => 
    array (
      'pretty_version' => 'v3.4.41',
      'version' => '3.4.41.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e06dd77bfa64196dfa3b945fdd29bcc15e7c41f0',
    ),
    'symfony/translation' => 
    array (
      'pretty_version' => 'v4.4.9',
      'version' => '4.4.9.0',
      'aliases' => 
      array (
      ),
      'reference' => '79d3ef9096a6a6047dbc69218b68c7b7f63193af',
    ),
    'symfony/translation-contracts' => 
    array (
      'pretty_version' => 'v1.1.7',
      'version' => '1.1.7.0',
      'aliases' => 
      array (
      ),
      'reference' => '364518c132c95642e530d9b2d217acbc2ccac3e6',
    ),
    'symfony/translation-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0',
      ),
    ),
    'symfony/yaml' => 
    array (
      'pretty_version' => 'v3.4.41',
      'version' => '3.4.41.0',
      'aliases' => 
      array (
      ),
      'reference' => '7233ac2bfdde24d672f5305f2b3f6b5d741ef8eb',
    ),
    'synetics/i-doit' => 
    array (
      'pretty_version' => 'dev-66ea412acfce21b5af08088509b5f691d3d9ff6d',
      'version' => 'dev-66ea412acfce21b5af08088509b5f691d3d9ff6d',
      'aliases' => 
      array (
      ),
      'reference' => '66ea412acfce21b5af08088509b5f691d3d9ff6d',
    ),
    'tecnickcom/tcpdf' => 
    array (
      'pretty_version' => '6.3.5',
      'version' => '6.3.5.0',
      'aliases' => 
      array (
      ),
      'reference' => '19a535eaa7fb1c1cac499109deeb1a7a201b4549',
    ),
  ),
);







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;
}
}
