miniflux-legacy/vendor/composer/autoload_real.php

56 lines
1.5 KiB
PHP
Raw Normal View History

<?php
// autoload_real.php @generated by Composer
2016-01-12 02:03:13 +01:00
class ComposerAutoloaderInit00bf4499632e34ac01e60c409b852c25
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
2016-01-12 02:03:13 +01:00
spl_autoload_register(array('ComposerAutoloaderInit00bf4499632e34ac01e60c409b852c25', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
2016-01-12 02:03:13 +01:00
spl_autoload_unregister(array('ComposerAutoloaderInit00bf4499632e34ac01e60c409b852c25', 'loadClassLoader'));
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->set($namespace, $path);
}
$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';
foreach ($includeFiles as $file) {
2016-01-12 02:03:13 +01:00
composerRequire00bf4499632e34ac01e60c409b852c25($file);
}
return $loader;
}
}
2016-01-12 02:03:13 +01:00
function composerRequire00bf4499632e34ac01e60c409b852c25($file)
{
require $file;
}