diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-05-29 10:58:11 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-05-29 10:58:11 +0200 |
commit | cac6cef4952e6535788c1c6db8ef1e58e88536a0 (patch) | |
tree | 574d653201c280cb082877f80d814b6899aacaf9 /vendor/composer/autoload_real.php | |
parent | aab9766c53e42c3141d0497fce78977d262efbc1 (diff) | |
download | volse-hubzilla-cac6cef4952e6535788c1c6db8ef1e58e88536a0.tar.gz volse-hubzilla-cac6cef4952e6535788c1c6db8ef1e58e88536a0.tar.bz2 volse-hubzilla-cac6cef4952e6535788c1c6db8ef1e58e88536a0.zip |
use composer to install sabre32
Diffstat (limited to 'vendor/composer/autoload_real.php')
-rw-r--r-- | vendor/composer/autoload_real.php | 45 |
1 files changed, 28 insertions, 17 deletions
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index aaf70ce6f..d0dfe0ebc 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInite7c34560857712ac82f3f77ff9c61261 +class ComposerAutoloaderInit83c487173ca2d4f0ca8866f7816b9ab4 { private static $loader; @@ -19,37 +19,48 @@ class ComposerAutoloaderInite7c34560857712ac82f3f77ff9c61261 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInite7c34560857712ac82f3f77ff9c61261', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit83c487173ca2d4f0ca8866f7816b9ab4', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInite7c34560857712ac82f3f77ff9c61261', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit83c487173ca2d4f0ca8866f7816b9ab4', 'loadClassLoader')); - $map = require __DIR__ . '/autoload_namespaces.php'; - foreach ($map as $namespace => $path) { - $loader->set($namespace, $path); - } + $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION'); + if ($useStaticLoader) { + require_once __DIR__ . '/autoload_static.php'; - $map = require __DIR__ . '/autoload_psr4.php'; - foreach ($map as $namespace => $path) { - $loader->setPsr4($namespace, $path); - } + call_user_func(\Composer\Autoload\ComposerStaticInit83c487173ca2d4f0ca8866f7816b9ab4::getInitializer($loader)); + } else { + $map = require __DIR__ . '/autoload_namespaces.php'; + foreach ($map as $namespace => $path) { + $loader->set($namespace, $path); + } - $classMap = require __DIR__ . '/autoload_classmap.php'; - if ($classMap) { - $loader->addClassMap($classMap); + $map = require __DIR__ . '/autoload_psr4.php'; + foreach ($map as $namespace => $path) { + $loader->setPsr4($namespace, $path); + } + + $classMap = require __DIR__ . '/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } } $loader->register(true); - $includeFiles = require __DIR__ . '/autoload_files.php'; + if ($useStaticLoader) { + $includeFiles = Composer\Autoload\ComposerStaticInit83c487173ca2d4f0ca8866f7816b9ab4::$files; + } else { + $includeFiles = require __DIR__ . '/autoload_files.php'; + } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequiree7c34560857712ac82f3f77ff9c61261($fileIdentifier, $file); + composerRequire83c487173ca2d4f0ca8866f7816b9ab4($fileIdentifier, $file); } return $loader; } } -function composerRequiree7c34560857712ac82f3f77ff9c61261($fileIdentifier, $file) +function composerRequire83c487173ca2d4f0ca8866f7816b9ab4($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; |