<?php











namespace Composer;

use Composer\Semver\VersionParser;






class InstalledVersions
{
private static $installed = array (
  'root' => 
  array (
    'pretty_version' => 'v1.19.0',
    'version' => '1.19.0.0',
    'aliases' => 
    array (
    ),
    'reference' => NULL,
    'name' => 'simplesamlphp/simplesamlphp',
  ),
  'versions' => 
  array (
    'gettext/gettext' => 
    array (
      'pretty_version' => 'v4.8.3',
      'version' => '4.8.3.0',
      'aliases' => 
      array (
      ),
      'reference' => '57ff4fb16647e78e80a5909fe3c190f1c3110321',
    ),
    'gettext/languages' => 
    array (
      'pretty_version' => '2.6.0',
      'version' => '2.6.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '38ea0482f649e0802e475f0ed19fa993bcb7a618',
    ),
    'phpfastcache/riak-client' => 
    array (
      'pretty_version' => '3.4.3',
      'version' => '3.4.3.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd771f75d16196006604a30bb15adc1c6a9b0fcc9',
    ),
    'phpmailer/phpmailer' => 
    array (
      'pretty_version' => 'v6.2.0',
      'version' => '6.2.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e38888a75c070304ca5514197d4847a59a5c853f',
    ),
    'psr/cache' => 
    array (
      'pretty_version' => '1.0.1',
      'version' => '1.0.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd11b50ad223250cf17b86e38383413f5a6764bf8',
    ),
    'psr/cache-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0',
      ),
    ),
    '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/event-dispatcher-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',
      ),
    ),
    'psr/simple-cache-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0',
      ),
    ),
    'robrichards/xmlseclibs' => 
    array (
      'pretty_version' => '3.1.1',
      'version' => '3.1.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'f8f19e58f26cdb42c54b214ff8a820760292f8df',
    ),
    'simplesamlphp/composer-module-installer' => 
    array (
      'pretty_version' => 'v1.1.8',
      'version' => '1.1.8.0',
      'aliases' => 
      array (
      ),
      'reference' => '45161b5406f3e9c82459d0f9a5a1dba064953cfa',
    ),
    'simplesamlphp/saml2' => 
    array (
      'pretty_version' => 'v4.1.11',
      'version' => '4.1.11.0',
      'aliases' => 
      array (
      ),
      'reference' => 'fe532d5e2f731142d07e00975a028918806b7e49',
    ),
    'simplesamlphp/simplesamlphp' => 
    array (
      'pretty_version' => 'v1.19.0',
      'version' => '1.19.0.0',
      'aliases' => 
      array (
      ),
      'reference' => NULL,
    ),
    'simplesamlphp/simplesamlphp-module-adfs' => 
    array (
      'pretty_version' => 'v0.9.6',
      'version' => '0.9.6.0',
      'aliases' => 
      array (
      ),
      'reference' => '425e5ebbdd097c92fe5265a6b48d32a3095c7237',
    ),
    'simplesamlphp/simplesamlphp-module-authcrypt' => 
    array (
      'pretty_version' => 'v0.9.3',
      'version' => '0.9.3.0',
      'aliases' => 
      array (
      ),
      'reference' => '9a2c1a761e2d94394a4f2d3499fd6f0853899530',
    ),
    'simplesamlphp/simplesamlphp-module-authfacebook' => 
    array (
      'pretty_version' => 'v0.9.3',
      'version' => '0.9.3.0',
      'aliases' => 
      array (
      ),
      'reference' => '9152731e939ad4a49e0f06da5f0009ebde0d2b5c',
    ),
    'simplesamlphp/simplesamlphp-module-authorize' => 
    array (
      'pretty_version' => 'v0.9.2',
      'version' => '0.9.2.0',
      'aliases' => 
      array (
      ),
      'reference' => 'c2607a5252ee1256b50ce7795e35513b116998d4',
    ),
    'simplesamlphp/simplesamlphp-module-authtwitter' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '29a15e58061222632fea9eb2c807aef5e2c0d54a',
    ),
    'simplesamlphp/simplesamlphp-module-authwindowslive' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'f40aecec6c0adaedb6693309840c98cec783876e',
    ),
    'simplesamlphp/simplesamlphp-module-authx509' => 
    array (
      'pretty_version' => 'v0.9.8',
      'version' => '0.9.8.0',
      'aliases' => 
      array (
      ),
      'reference' => '66525b1ec4145ec8d0d0e9db4534624b6be4c1fb',
    ),
    'simplesamlphp/simplesamlphp-module-authyubikey' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '8c27bfeb4981d2e6fa40a831e945f40c5a4ad3d2',
    ),
    'simplesamlphp/simplesamlphp-module-cas' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '63b72e4600550c507cdfc32fdd208ad59a64321e',
    ),
    'simplesamlphp/simplesamlphp-module-cdc' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '16a5bfac7299e04e5feb472af328e07598708166',
    ),
    'simplesamlphp/simplesamlphp-module-consent' => 
    array (
      'pretty_version' => 'v0.9.6',
      'version' => '0.9.6.0',
      'aliases' => 
      array (
      ),
      'reference' => '2f84d15e96afb5a32b6d1cff93370f501ca7867d',
    ),
    'simplesamlphp/simplesamlphp-module-consentadmin' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '466e8d0d751f0080162d78e63ab2e125b24d17a1',
    ),
    'simplesamlphp/simplesamlphp-module-discopower' => 
    array (
      'pretty_version' => 'v0.9.3',
      'version' => '0.9.3.0',
      'aliases' => 
      array (
      ),
      'reference' => 'c892926e8186d0a2c638f7032dfc30540c1f92fb',
    ),
    'simplesamlphp/simplesamlphp-module-exampleattributeserver' => 
    array (
      'pretty_version' => 'v1.0.0',
      'version' => '1.0.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '63e0323e81c32bc3c9eaa01ea45194bb10153708',
    ),
    'simplesamlphp/simplesamlphp-module-expirycheck' => 
    array (
      'pretty_version' => 'v0.9.3',
      'version' => '0.9.3.0',
      'aliases' => 
      array (
      ),
      'reference' => '59c59cdf87e2679257b46c07bb4c27666a11cc20',
    ),
    'simplesamlphp/simplesamlphp-module-ldap' => 
    array (
      'pretty_version' => 'v0.9.10',
      'version' => '0.9.10.0',
      'aliases' => 
      array (
      ),
      'reference' => '78f04cbe41bfb9dcbcdeff4b5f12e67c060e1a77',
    ),
    'simplesamlphp/simplesamlphp-module-memcachemonitor' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '0e08e87707cd7b1fb91bbcf65cc454d8849571b0',
    ),
    'simplesamlphp/simplesamlphp-module-memcookie' => 
    array (
      'pretty_version' => 'v1.2.2',
      'version' => '1.2.2.0',
      'aliases' => 
      array (
      ),
      'reference' => '39535304e8d464b7baa1e82cb441fa432947ff57',
    ),
    'simplesamlphp/simplesamlphp-module-metarefresh' => 
    array (
      'pretty_version' => 'v0.9.6',
      'version' => '0.9.6.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e284306a7097297765b5b78a4e28f19f18d4e001',
    ),
    'simplesamlphp/simplesamlphp-module-negotiate' => 
    array (
      'pretty_version' => 'v0.9.9',
      'version' => '0.9.9.0',
      'aliases' => 
      array (
      ),
      'reference' => '68c9a1a2b81c68978ba6cfe19f0a7527300768ba',
    ),
    'simplesamlphp/simplesamlphp-module-oauth' => 
    array (
      'pretty_version' => 'v0.9.2',
      'version' => '0.9.2.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd14d7aca6e699ec12b3f4dd0128373faa1a2cc61',
    ),
    'simplesamlphp/simplesamlphp-module-preprodwarning' => 
    array (
      'pretty_version' => 'v0.9.2',
      'version' => '0.9.2.0',
      'aliases' => 
      array (
      ),
      'reference' => '8e032de33a75eb44857dc06d886ad94ee3af4638',
    ),
    'simplesamlphp/simplesamlphp-module-radius' => 
    array (
      'pretty_version' => 'v0.9.3',
      'version' => '0.9.3.0',
      'aliases' => 
      array (
      ),
      'reference' => '36bd0f39f9a13f7eb96ead97c97c3634aa1c3f2d',
    ),
    'simplesamlphp/simplesamlphp-module-riak' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'c1a9d9545cb4e05b9205b34624850bb777aca991',
    ),
    'simplesamlphp/simplesamlphp-module-sanitycheck' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '15d6664eae73a233c3c4c72fd8a5c2be72b6ed2a',
    ),
    'simplesamlphp/simplesamlphp-module-smartattributes' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'b45d3ecd916e359a9cae05f9ae9df09b5c42f4e6',
    ),
    'simplesamlphp/simplesamlphp-module-sqlauth' => 
    array (
      'pretty_version' => 'v0.9.1',
      'version' => '0.9.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '31bce8763ad97f4b4473e4ad4a5a96ddc136ef6b',
    ),
    'simplesamlphp/simplesamlphp-module-statistics' => 
    array (
      'pretty_version' => 'v0.9.5',
      'version' => '0.9.5.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd7f68a129baa2dfb6104b91deddfc36b79ae2b54',
    ),
    'simplesamlphp/twig-configurable-i18n' => 
    array (
      'pretty_version' => 'v2.3.4',
      'version' => '2.3.4.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e2bffc7eed3112a0b3870ef5b4da0fd74c7c4b8a',
    ),
    'symfony/cache' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '23cc546c9104693d6fce1b3aaa31c1fd47198bdc',
    ),
    'symfony/cache-contracts' => 
    array (
      'pretty_version' => 'v1.1.10',
      'version' => '1.1.10.0',
      'aliases' => 
      array (
      ),
      'reference' => '8d5489c10ef90aa7413e4921fc3c0520e24cbed7',
    ),
    'symfony/cache-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0',
      ),
    ),
    'symfony/config' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e501c56d2fa70798075b9811d0eb4c27de491459',
    ),
    'symfony/console' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '12e071278e396cc3e1c149857337e9e192deca0b',
    ),
    'symfony/debug' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '5dfc7825f3bfe9bb74b23d8b8ce0e0894e32b544',
    ),
    'symfony/dependency-injection' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '3860f64c6deb2cb48b1ada27460c58ae479bdc0f',
    ),
    'symfony/error-handler' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => 'ef2f7ddd3b9177bbf8ff2ecd8d0e970ed48da0c3',
    ),
    'symfony/event-dispatcher' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '5d4c874b0eb1c32d40328a09dbc37307a5a910b0',
    ),
    'symfony/event-dispatcher-contracts' => 
    array (
      'pretty_version' => 'v1.1.9',
      'version' => '1.1.9.0',
      'aliases' => 
      array (
      ),
      'reference' => '84e23fdcd2517bf37aecbd16967e83f0caee25a7',
    ),
    'symfony/event-dispatcher-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.1',
      ),
    ),
    'symfony/filesystem' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd99fbef7e0f69bf162ae6131b31132fa3cc4bcbe',
    ),
    'symfony/finder' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => 'ebd0965f2dc2d4e0f11487c16fbb041e50b5c09b',
    ),
    'symfony/framework-bundle' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '3347605c98b598ad114ac6203ec855ddb2c47569',
    ),
    'symfony/http-client-contracts' => 
    array (
      'pretty_version' => 'v1.1.10',
      'version' => '1.1.10.0',
      'aliases' => 
      array (
      ),
      'reference' => '7e86f903f9720d0caa7688f5c29a2de2d77cbb89',
    ),
    'symfony/http-foundation' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '5ebda66b51612516bf338d5f87da2f37ff74cf34',
    ),
    'symfony/http-kernel' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => 'eaff9a43e74513508867ecfa66ef94fbb96ab128',
    ),
    'symfony/mime' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '7a4176a1cbc4cc99268c531de547fccbd0beb370',
    ),
    'symfony/polyfill-ctype' => 
    array (
      'pretty_version' => 'v1.22.0',
      'version' => '1.22.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'c6c942b1ac76c82448322025e084cadc56048b4e',
    ),
    'symfony/polyfill-intl-idn' => 
    array (
      'pretty_version' => 'v1.22.0',
      'version' => '1.22.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '0eb8293dbbcd6ef6bf81404c9ce7d95bcdf34f44',
    ),
    'symfony/polyfill-intl-normalizer' => 
    array (
      'pretty_version' => 'v1.22.0',
      'version' => '1.22.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '6e971c891537eb617a00bb07a43d182a6915faba',
    ),
    'symfony/polyfill-mbstring' => 
    array (
      'pretty_version' => 'v1.22.0',
      'version' => '1.22.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'f377a3dd1fde44d37b9831d68dc8dea3ffd28e13',
    ),
    'symfony/polyfill-php72' => 
    array (
      'pretty_version' => 'v1.22.0',
      'version' => '1.22.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9',
    ),
    'symfony/polyfill-php73' => 
    array (
      'pretty_version' => 'v1.22.0',
      'version' => '1.22.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'a678b42e92f86eca04b7fa4c0f6f19d097fb69e2',
    ),
    'symfony/polyfill-php80' => 
    array (
      'pretty_version' => 'v1.22.0',
      'version' => '1.22.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'dc3063ba22c2a1fd2f45ed856374d79114998f91',
    ),
    'symfony/routing' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '80b042c20b035818daec844723e23b9825134ba0',
    ),
    'symfony/service-contracts' => 
    array (
      'pretty_version' => 'v1.1.9',
      'version' => '1.1.9.0',
      'aliases' => 
      array (
      ),
      'reference' => 'b776d18b303a39f56c63747bcb977ad4b27aca26',
    ),
    'symfony/service-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0',
      ),
    ),
    'symfony/var-dumper' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => '4f31364bbc8177f2a6dbc125ac3851634ebe2a03',
    ),
    'symfony/var-exporter' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => 'f04b7d187b120e0a44c18a2d479c2dd0abe99d9c',
    ),
    'symfony/yaml' => 
    array (
      'pretty_version' => 'v4.4.18',
      'version' => '4.4.18.0',
      'aliases' => 
      array (
      ),
      'reference' => 'bbce94f14d73732340740366fcbe63363663a403',
    ),
    'twig/extensions' => 
    array (
      'pretty_version' => 'v1.5.4',
      'version' => '1.5.4.0',
      'aliases' => 
      array (
      ),
      'reference' => '57873c8b0c1be51caa47df2cdb824490beb16202',
    ),
    'twig/twig' => 
    array (
      'pretty_version' => 'v2.13.1',
      'version' => '2.13.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '57e96259776ddcacf1814885fc3950460c8e18ef',
    ),
    'webmozart/assert' => 
    array (
      'pretty_version' => '1.5.0',
      'version' => '1.5.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '88e6d84706d09a236046d686bbea96f07b3a34f4',
    ),
    'whitehat101/apr1-md5' => 
    array (
      'pretty_version' => 'v1.0.0',
      'version' => '1.0.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '8b261c9fc0481b4e9fa9d01c6ca70867b5d5e819',
    ),
  ),
);







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