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-08-16 17:04:56 +02:00
class ComposerAutoloaderInit7ef136239d0eba3c52e7cc0920f38745
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-08-16 17:04:56 +02:00
spl_autoload_register(array('ComposerAutoloaderInit7ef136239d0eba3c52e7cc0920f38745', 'loadClassLoader'), true, true);
2014-12-22 19:15:38 +01:00
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
2015-08-16 17:04:56 +02:00
spl_autoload_unregister(array('ComposerAutoloaderInit7ef136239d0eba3c52e7cc0920f38745', '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-08-16 17:04:56 +02:00
composerRequire7ef136239d0eba3c52e7cc0920f38745($file);
2014-12-22 19:15:38 +01:00
}
return $loader;
}
}
2015-08-16 17:04:56 +02:00
function composerRequire7ef136239d0eba3c52e7cc0920f38745($file)
2014-12-22 19:15:38 +01:00
{
require $file;
}