1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/vendor/composer/autoload_real.php

56 lines
1.5 KiB
PHP
Raw Normal View History

2014-12-22 19:15:38 +01:00
<?php
// autoload_real.php @generated by Composer
2015-09-08 22:16:28 +02:00
class ComposerAutoloaderInitb49168f73567c5666427eb0ef6cb5dda
2014-12-22 19:15:38 +01:00
{
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;
}
2015-09-08 22:16:28 +02:00
spl_autoload_register(array('ComposerAutoloaderInitb49168f73567c5666427eb0ef6cb5dda', 'loadClassLoader'), true, true);
2014-12-22 19:15:38 +01:00
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
2015-09-08 22:16:28 +02:00
spl_autoload_unregister(array('ComposerAutoloaderInitb49168f73567c5666427eb0ef6cb5dda', 'loadClassLoader'));
2014-12-22 19:15:38 +01:00
$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) {
2015-09-08 22:16:28 +02:00
composerRequireb49168f73567c5666427eb0ef6cb5dda($file);
2014-12-22 19:15:38 +01:00
}
return $loader;
}
}
2015-09-08 22:16:28 +02:00
function composerRequireb49168f73567c5666427eb0ef6cb5dda($file)
2014-12-22 19:15:38 +01:00
{
require $file;
}